summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-09-24 20:16:55 +0300
committerLars Wirzenius <liw@liw.fi>2018-09-24 20:16:55 +0300
commita21e5ab1dc75a364004cdc0b32b30cf2bbaf2d09 (patch)
treeb097d90065110801dce6bf30f5ff43a30b2bbcbc /check
parentfdd46e1ce741e840b8092829f0001008fe1d1f98 (diff)
downloadick2-a21e5ab1dc75a364004cdc0b32b30cf2bbaf2d09.tar.gz
Change: run pylint3 if available
Diffstat (limited to 'check')
-rwxr-xr-xcheck7
1 files changed, 5 insertions, 2 deletions
diff --git a/check b/check
index cbe69bf..133b9c0 100755
--- a/check
+++ b/check
@@ -85,8 +85,11 @@ then
title pycodestyle
pycodestyle ick2 $python_sources
-# title pylint
-# pylint3 --rcfile pylint.conf $python_sources
+ if command -v pylint3 > /dev/null
+ then
+ title pylint3
+ pylint3 --rcfile pylint.conf $python_sources
+ fi
fi
if [ "$yarns" = yes ]