From 328a664adfb8dddf0bddc1b727e0b55147f64c13 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Wed, 9 Oct 2024 11:00:31 +0200 Subject: [PATCH] pylint #R0917 --- scripts/check-syntax.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"