This would have prevented some bugs I committed earlier.
all: pylint spike32.log spike64.log
pylint:
- pylint --rcfile=pylint.rc *.py
+ pylint --rcfile=pylint.rc `git ls-files '*.py'`
%.log:
$(GDBSERVER_PY) \
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
disable=bad-continuation, missing-docstring, invalid-name, locally-disabled,
- too-few-public-methods, too-many-arguments, fixme
+ too-few-public-methods, too-many-arguments, fixme, duplicate-code
[REPORTS]