X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=460550babe20a6dc18bd1e8e65d80a24390cb31a;hb=648deb477014eace4fcddf1b00a86591ff86c870;hp=f8599ea4f0ca42e5b3a9f826f6c0d6b631cd4d6e;hpb=8b8a3a73c4812af90bdd755c35f6c4e001553872;p=open-adventure.git diff --git a/Makefile b/Makefile index f8599ea..460550b 100644 --- a/Makefile +++ b/Makefile @@ -83,7 +83,7 @@ coverage: debug html: advent.html history.html hints.html # README.adoc exists because that filename is magic on GitLab. -DOCS=COPYING NEWS README.adoc TODO advent.adoc history.adoc notes.adoc hints.adoc advent.6 INSTALL.adoc +DOCS=COPYING NEWS README.adoc advent.adoc history.adoc notes.adoc hints.adoc advent.6 INSTALL.adoc TESTFILES=tests/*.log tests/*.chk tests/README tests/decheck tests/Makefile # Can't use GNU tar's --transform, needs to build under Alpine Linux. @@ -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