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:
Alexander Hess 2021-09-15 14:51:56 +02:00
commit f0eb9d3b6f
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
10 changed files with 13 additions and 12 deletions

View file

@ -11,7 +11,7 @@ from rpy2 import robjects
from rpy2.robjects import pandas2ri
def stl( # noqa:C901,WPS210,WPS211,WPS231
def stl( # noqa:C901,WPS210,WPS211
time_series: pd.Series,
*,
frequency: int,