mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 19:44:45 +00:00
linting
This commit is contained in:
14
test-syntax.sh
vendored
14
test-syntax.sh
vendored
@@ -28,6 +28,7 @@ pycodestyle scripts/
|
||||
echo "testing with pyflakes"
|
||||
pyflakes dotdrop/
|
||||
pyflakes tests/
|
||||
pyflakes scripts/
|
||||
|
||||
# pylint
|
||||
echo "testing with pylint"
|
||||
@@ -51,6 +52,19 @@ pylint \
|
||||
--disable=R0904 \
|
||||
dotdrop/
|
||||
|
||||
# C0103: invalid-name
|
||||
pylint \
|
||||
--disable=R0902 \
|
||||
--disable=R0913 \
|
||||
--disable=R0903 \
|
||||
--disable=R0914 \
|
||||
--disable=R0915 \
|
||||
--disable=R0912 \
|
||||
--disable=R0911 \
|
||||
--disable=R0904 \
|
||||
--disable=C0103 \
|
||||
scripts/
|
||||
|
||||
set +e
|
||||
exceptions="save_uservariables_name\|@@\|diff_cmd\|original,\|modified,"
|
||||
# f-string errors and missing f literal
|
||||
|
||||
Reference in New Issue
Block a user