diff --git a/scripts/check-syntax.sh b/scripts/check-syntax.sh index 019620c..3eec22f 100755 --- a/scripts/check-syntax.sh +++ b/scripts/check-syntax.sh @@ -79,6 +79,7 @@ echo "checking dotdrop with pylint" # R0912: too-many-branches # R0911: too-many-return-statements # R0904: too-many-public-methods +# R0917: too-many-positional-arguments pylint \ --disable=R0902 \ --disable=R0913 \ @@ -88,6 +89,7 @@ pylint \ --disable=R0912 \ --disable=R0911 \ --disable=R0904 \ + --disable=R0917 \ dotdrop/ # check shell scripts @@ -130,4 +132,4 @@ exceptions="save_uservariables_name\|@@\|diff_cmd\|original,\|modified," find dotdrop/ -iname '*.py' -exec grep --with-filename -n -v "f'" {} \; | grep -v "{'" | grep -v "${exceptions}" | grep "'.*}" && echo "bad string format (1)" && exit 1 find dotdrop/ -iname '*.py' -exec grep --with-filename -n -v 'f"' {} \; | grep -v "f'" | grep -v '{"' | grep -v "${exceptions}" | grep '".*}' && echo "bad string format (2)" && exit 1 -echo "syntax OK" \ No newline at end of file +echo "syntax OK"