1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 19:44:45 +00:00
This commit is contained in:
deadc0de6
2023-01-19 23:24:13 +01:00
parent b9159ac91a
commit 1342fc94b6
4 changed files with 36 additions and 19 deletions

14
test-syntax.sh vendored
View File

@@ -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