pylint cleanup.
This commit is contained in:
parent
44017d64bb
commit
dee8809e30
4 changed files with 87 additions and 80 deletions
6
Makefile
6
Makefile
|
@ -136,6 +136,10 @@ debug: CCFLAGS += -fsanitize=address
|
|||
debug: CCFLAGS += -fsanitize=undefined
|
||||
debug: linty
|
||||
|
||||
CSUPPRESSIONS = --suppress=missingIncludeSystem --suppress=invalidscanf
|
||||
PYSUPPRESSIONS = --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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue