summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7bbb787..40bb735 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,8 @@ check:
python -m CoverageTestRunner --ignore-missing-from=without-tests
rm -f .coverage
pep8 cliapp
- if command -v pylint && pylint --version | grep '^pylint [1-9]'; \
+ if command -v pylint --rcfile=pylint.conf > /dev/null && \
+ pylint --version --rcfile=pylint.conf | grep -q '^pylint [1-9]'; \
then \
PYTHONPATH=. pylint --rcfile=pylint.conf \
cliapp *.py test-plugins/*.py; \