diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | example.py | 3 | ||||
-rw-r--r-- | example3.py | 3 | ||||
-rw-r--r-- | pylint.conf | 2 |
4 files changed, 8 insertions, 3 deletions
@@ -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; \ @@ -22,9 +22,10 @@ This implements an fgrep-like utility. ''' -import cliapp import logging +import cliapp + class ExampleApp(cliapp.Application): diff --git a/example3.py b/example3.py index 163231d..ea61ea2 100644 --- a/example3.py +++ b/example3.py @@ -22,9 +22,10 @@ Demonstrate the compute_setting_values method. ''' -import cliapp import urlparse +import cliapp + class ExampleApp(cliapp.Application): diff --git a/pylint.conf b/pylint.conf index b36b2aa..4da28ea 100644 --- a/pylint.conf +++ b/pylint.conf @@ -11,6 +11,7 @@ disable= missing-docstring, no-self-use, protected-access, + redefined-variable-type, star-args, too-few-public-methods, too-many-arguments, @@ -19,6 +20,7 @@ disable= too-many-locals, too-many-public-methods, too-many-statements, + unidiomatic-typecheck, unused-argument [REPORTS] |