From 7ab0964826f6919731b508b9fbaf69ae337573ca Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Fri, 3 Jun 2016 16:10:31 -0400 Subject: [PATCH] add C901 (function complexity)to flake8 ignore list I'm adding this both as a TODO item and to work around flake8 preferring global ($HOME) configuration over project --- setup.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 099704f2e..32d3e06ad 100644 --- a/setup.cfg +++ b/setup.cfg @@ -9,6 +9,7 @@ min-version=2.7 # - E241: missing whitespace after ',' (used to align visually) # - E221: multiple spaces before operator (used to align visually) # - E731: do not assign a lambda expression, use a def +# - C901: function/method complexity # `flake8-future-import` errors we ignore: # - FI50: `__future__` import "division" present # - FI51: `__future__` import "absolute_import" present @@ -16,4 +17,4 @@ min-version=2.7 # - FI53: `__future__` import "print_function" present # - FI14: `__future__` import "unicode_literals" missing # - FI15: `__future__` import "generator_stop" missing -ignore=E241,E221,E731,FI50,FI51,FI12,FI53,FI14,FI15 +ignore=C901,E241,E221,E731,FI50,FI51,FI12,FI53,FI14,FI15