At this revision, make cppcheck runs clean.
[open-adventure.git] / Makefile
index 9c837d26e6608aae653e471e0b8ccfdd774796d9..7521a434dce61e7bd7b45c9d0b50392c5b93947d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -70,6 +70,7 @@ check: advent cheat
 
 reflow:
        @clang-format --style="{IndentWidth: 8, UseTab: ForIndentation}" -i $$(find . -name "*.[ch]")
+       @black --quiet *.py
 
 # Requires gcov, lcov, libasan6, and libubsan1
 # The last two are Ubuntu names, might vary on other distributions.
@@ -152,7 +153,7 @@ debug: linty
 
 CSUPPRESSIONS = --suppress=missingIncludeSystem --suppress=invalidscanf
 cppcheck:
-       cppcheck -I. --template gcc --enable=all $(CSUPPRESSIONS) *.[ch]
+       cppcheck -I. --template gcc -UPROP_SET_SEEN --enable=all $(CSUPPRESSIONS) *.[ch]
 
 pylint:
        @pylint --score=n *.py */*.py