From 8f9a896919199807cf07314d61eaaf691e058261 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 28 Jan 2014 23:13:06 +0100 Subject: [PATCH] run_checks: Add flake8 --ignore --- run_checks.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/run_checks.py b/run_checks.py index 20cf266fe..65885e6f1 100644 --- a/run_checks.py +++ b/run_checks.py @@ -66,9 +66,14 @@ pylint_disable = [ 'global-statement', # Sometimes necessary ] +flake8_disable = [ + 'E241', # Multiple spaces after , +] + run('pylint', ['--ignore=appdirs.py', '--output-format=colorized', '--reports=no', '--disable=' + ','.join(pylint_disable)]) -run('flake8', ['--max-complexity=10', '--exclude=appdirs.py']) +run('flake8', ['--max-complexity=10', '--exclude=appdirs.py', + '--ignore=' + ''.join(flake8_disable)]) check_crlf() print('Exit status values:')