Skip to content

Commit

Permalink
.flake8: Don't set --max-complexity if you don't care about code comp…
Browse files Browse the repository at this point in the history
…lexity (getsentry#809)
  • Loading branch information
cclauss authored Sep 2, 2020
1 parent d1ee675 commit 92e4c54
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ ignore =
W503, // Handled by black (Line break occured before a binary operator)
E402, // Sometimes not possible due to execution order (Module level import is not at top of file)
E731, // I don't care (Do not assign a lambda expression, use a def)
C901, // I don't care (Function is too complex)
B950, // Handled by black (Line too long by flake8-bugbear)
B011, // I don't care (Do not call assert False)
B014, // does not apply to Python 2 (redundant exception types by flake8-bugbear)
N812, // I don't care (Lowercase imported as non-lowercase by pep8-naming)
N804 // is a worse version of and conflicts with B902 (first argument of a classmethod should be named cls)
max-line-length = 80
max-complexity = 18
select = N,B,C,E,F,W,T4,B9
exclude=checkouts,lol*,.tox

0 comments on commit 92e4c54

Please sign in to comment.