add pylint integration & fix some pylint warnings

This commit is contained in:
2021-03-19 05:07:41 +03:00
parent f929a552e8
commit e7736e985f
19 changed files with 680 additions and 75 deletions

View File

@ -27,6 +27,7 @@ archlinux: archive
check:
cd src && mypy --strict -p $(PROJECT)
cd src && find $(PROJECT) -name '*.py' -execdir autopep8 --max-line-length 120 -aa -i {} +
cd src && pylint --rcfile=../.pylintrc $(PROJECT)
clean:
find . -type f -name '$(PROJECT)-*-src.tar.xz' -delete