From 48b88ae25467f860fdce302702485f3f9693e109 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 28 Jan 2014 16:13:11 +0100 Subject: [PATCH] run_checks: Disable some checks --- run_checks.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/run_checks.py b/run_checks.py index 44b83c399..78cce44e8 100644 --- a/run_checks.py +++ b/run_checks.py @@ -27,8 +27,15 @@ def run(name, args=None): status[name] = None print() +pylint_disable = [ + 'import-error', 'no-name-in-module', # import seems unreliable + 'invalid-name', # short variable names can be nice + 'star-args', # we want to use this + 'fixme', # I'll decide myself when to fix them +] + run('pylint', ['--ignore=appdirs.py', '--output-format=colorized', - '--reports=no']) + '--reports=no', '--disable=' + ','.join(pylint_disable)]) run('flake8', ['--max-complexity=10', '--exclude=appdirs.py']) print('Exit status values:')