There is no 'too complex function'
We check a function's cognitive complexity only with `mccabe` (=C901) and not with WPS231 as the two overlap in most cases.
This commit is contained in:
parent
6091ad95c6
commit
f0eb9d3b6f
10 changed files with 13 additions and 12 deletions
|
|
@ -97,6 +97,9 @@ extend-ignore =
|
|||
WPS220,
|
||||
# String constant over-use is checked visually by the programmer.
|
||||
WPS226,
|
||||
# Function complexity is checked by `mccabe` (=C901),
|
||||
# which yields the same result in most cases.
|
||||
WPS231,
|
||||
# Modules as a whole are assumed to be not "too complex".
|
||||
WPS232,
|
||||
# Allow underscores in numbers.
|
||||
|
|
|
|||
Loading…
Reference in a new issue