My collection of plugins for the Qtile window manager.
git clone https://mcol.xyz/code/qtools
Log | Files | Refs | README

commit 5b45f1633695d4cb7a5c24b8a240b5006f605a03
parent 4c04fa3656b506ea4c546d2650320afafff1fa0a
Author: mcol <mcol@posteo.net>
Date:   Sat, 29 Feb 2020 10:14:36 +0000

add pylint for makefile

Diffstat:
Mmakefile | 11++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/makefile b/makefile @@ -1,13 +1,22 @@ help: @echo 'make: Display this message' @echo 'make clean: Remove the compiled files (*.pyc, *.pyo)' + @echo 'make pylint: Test using pylint' @echo 'make flake8: Test using flake8' clean: find qtools -regex .\*\.py[co]\$$ -delete find qtools -depth -name __pycache__ -type d -exec rm -r -- {} \; +TEST_PATHS = \ + qtools + +pylint: + @echo "Running pylint..." + pylint --rcfile=setup.cfg $(TEST_PATHS) + flake8: - flake8 qtools + @echo "Running flake8..." + flake8 $(TEST_PATHS) .PHONY: default help clean flake8