summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-09-24 20:15:35 +0300
committerLars Wirzenius <liw@liw.fi>2018-09-24 20:15:35 +0300
commitf0f7bba8fb9fa4be551d1bfac4295896516f0fbc (patch)
tree6e2c4c9ab23516c320634a539f42d239fadcb6e5
parent161ab066af963477884d5a9f994cede01d6870f6 (diff)
downloadcliapp-f0f7bba8fb9fa4be551d1bfac4295896516f0fbc.tar.gz
Change: run pylint3 if availableHEADmaster
-rwxr-xr-xcheck6
1 files changed, 5 insertions, 1 deletions
diff --git a/check b/check
index 7b06ce7..09efb4f 100755
--- a/check
+++ b/check
@@ -6,4 +6,8 @@ python -m CoverageTestRunner --ignore-missing-from=without-tests
python3 -m CoverageTestRunner --ignore-missing-from=without-tests
rm -f .coverage
pep8 cliapp
-# PYTHONPATH=. pylint --rcfile=pylint.conf cliapp *.py test-plugins/*.py
+if command -v pylint3 > /dev/null
+then
+ title "Static checking"
+ PYTHONPATH=. pylint3 --rcfile=pylint.conf cliapp *.py test-plugins/*.py
+fi