From 2561013659eaed2a175c6a4a0eb5a061cb97a93e Mon Sep 17 00:00:00 2001 From: Thomas Schultz Date: Mon, 30 Jan 2017 16:07:53 -0500 Subject: [PATCH] Ignore pycodestyle E306,E123,E722. --- scripts/pycodestyle_on_repo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/pycodestyle_on_repo.py b/scripts/pycodestyle_on_repo.py index b362dae0c6f9..08cccdb2d07d 100644 --- a/scripts/pycodestyle_on_repo.py +++ b/scripts/pycodestyle_on_repo.py @@ -40,7 +40,8 @@ def main(): if not python_files: print('No Python files to lint, exiting.') else: - pycodestyle_command = ['pycodestyle'] + python_files + pycodestyle_command = ['pycodestyle', + '--ignore=E306,E123,E722'] + python_files status_code = subprocess.call(pycodestyle_command) sys.exit(status_code)