Commit 9a5c1f2d63764b346570bd9058809af7f1411a29 Parent: b721cb4aa08179bfa7d8172b62ddb8bfce133041 Author: mcol <mcol@posteo.net> Date: 2020-01-11 22:00:57 +0000 Committer: mcol <mcol@posteo.net> Committed: 2020-01-11 22:00:57 +0000 add makefile with flake8
setup.cfg Added
@@ -0,0 +1,14 @@ +[flake8] +max-line-length = 88 +disable-noqa = True +ignore = E402 + +[pylint] +disable = + invalid-name, + wrong-import-position, + unused-argument, + missing-function-doctring, + missing-module-doctring, + access-member-before-definition +max-line-length = 88
makefile Added
@@ -0,0 +1,13 @@ +help: + @echo 'make: Display this message' + @echo 'make clean: Remove the compiled files (*.pyc, *.pyo)' + @echo 'make flake8: Test using flake8' + +clean: + find qtools -regex .\*\.py[co]\$$ -delete + find qtools -depth -name __pycache__ -type d -exec rm -r -- {} \; + +flake8: + flake8 qtools + +.PHONY: default help clean flake8