diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-07-24 21:33:05 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-07-24 21:33:05 +0300 |
commit | 2ab9dfd554d2b49bc7df4711c5fb633dd3a92ccf (patch) | |
tree | 46a5a0e28a2949eb4348114c5169ec58633700c1 | |
parent | 3ade692af1daf4b60af748f7ed35933ec36d5575 (diff) | |
download | cliapp-2ab9dfd554d2b49bc7df4711c5fb633dd3a92ccf.tar.gz |
Silence pylint warnings
Disable the ones that I find pointless.
-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] |