From ad9c1ed359ce6403388992c3f2a07b9afc10dbcc Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 20 May 2014 17:53:32 +0200 Subject: [PATCH] flake8: increase max complexity --- .flake8 | 2 +- scripts/run_checks.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.flake8 b/.flake8 index 87ea54ede..277a4c491 100644 --- a/.flake8 +++ b/.flake8 @@ -7,5 +7,5 @@ # F821: undefined name # F841: unused variable ignore=E241,E265,F401,E501,F821,F841 -max_complexity = 10 +max_complexity = 11 exclude = ez_setup.py diff --git a/scripts/run_checks.py b/scripts/run_checks.py index 6e7274d9c..2b90f6813 100755 --- a/scripts/run_checks.py +++ b/scripts/run_checks.py @@ -64,7 +64,7 @@ options = { 'other': { 'pylint': ['--output-format=colorized', '--reports=no', '--rcfile=.pylintrc'], - 'flake8': ['--max-complexity=10', '--config=.flake8'], + 'flake8': ['--config=.flake8'], }, }