diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-05-01 16:31:00 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-05-01 16:31:00 +0300 |
commit | 25c1a5705a8a665660d575a2b46f8378e2d92b5d (patch) | |
tree | 51e3c197cfef4cae16399369e43aba543ff6efbe /Makefile | |
parent | 61830c315a9b051a8ab46da487792d0c1e90ec5d (diff) | |
download | summain-25c1a5705a8a665660d575a2b46f8378e2d92b5d.tar.gz |
Whitespace and pylint fixes
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -27,7 +27,11 @@ check: rm -f .coverage cmdtest tests pep8 summain summainlib.py summainlib_tests.py - pylint --rcfile=pylint.conf summain summainlib.py summainlib_tests.py + if command -v pylint && pylint --version | grep '^pylint [1-9]'; \ + then \ + PYTHONPATH=. pylint --rcfile=pylint.conf \ + summain summainlib.py summainlib_tests.py; \ + fi clean: python setup.py clean |