From f0f7bba8fb9fa4be551d1bfac4295896516f0fbc Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 24 Sep 2018 20:15:35 +0300 Subject: Change: run pylint3 if available --- check | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1