Skip to content

Commit 92e4c54

Browse files
authored
.flake8: Don't set --max-complexity if you don't care about code complexity (#809)
1 parent d1ee675 commit 92e4c54

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.flake8

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ ignore =
66
W503, // Handled by black (Line break occured before a binary operator)
77
E402, // Sometimes not possible due to execution order (Module level import is not at top of file)
88
E731, // I don't care (Do not assign a lambda expression, use a def)
9-
C901, // I don't care (Function is too complex)
109
B950, // Handled by black (Line too long by flake8-bugbear)
1110
B011, // I don't care (Do not call assert False)
1211
B014, // does not apply to Python 2 (redundant exception types by flake8-bugbear)
1312
N812, // I don't care (Lowercase imported as non-lowercase by pep8-naming)
1413
N804 // is a worse version of and conflicts with B902 (first argument of a classmethod should be named cls)
1514
max-line-length = 80
16-
max-complexity = 18
1715
select = N,B,C,E,F,W,T4,B9
1816
exclude=checkouts,lol*,.tox

0 commit comments

Comments
 (0)