X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;h=92e97da6fff4ed32e38abb4b0c62c7b128dff679;hb=f7d6884dedabaa237056164ec6d90335de8025cb;hp=f8599ea4f0ca42e5b3a9f826f6c0d6b631cd4d6e;hpb=8b8a3a73c4812af90bdd755c35f6c4e001553872;p=open-adventure.git diff --git a/Makefile b/Makefile index f8599ea..92e97da 100644 --- a/Makefile +++ b/Makefile @@ -139,3 +139,7 @@ debug: linty CSUPPRESSIONS = --suppress=missingIncludeSystem --suppress=invalidscanf cppcheck: cppcheck -I. --template gcc --enable=all $(CSUPPRESSIONS) *.[ch] + +PYSUPPRESSIONS = line-too-long,invalid-name,missing-function-docstring,too-many-lines,too-many-branches,global-statement,multiple-imports,too-many-locals,too-many-statements,too-many-nested-blocks,no-else-return,raise-missing-from,redefined-outer-name,consider-using-in +pylint: + @pylint --score=n --disable=$(PYSUPPRESSIONS) *.py */*.py