Adjust flake8 to not consider constants magic
This commit is contained in:
parent
a1da1e9af8
commit
de3e489b39
7 changed files with 13 additions and 17 deletions
|
|
@ -105,6 +105,8 @@ extend-ignore =
|
|||
WPS412,
|
||||
# Allow multiple assignment, e.g., x = y = 123
|
||||
WPS429,
|
||||
# There are no magic numbers.
|
||||
WPS432,
|
||||
|
||||
per-file-ignores =
|
||||
# Top-levels of a sub-packages are intended to import a lot.
|
||||
|
|
@ -137,8 +139,6 @@ per-file-ignores =
|
|||
src/urban_meal_delivery/configuration.py:
|
||||
# Allow upper case class variables within classes.
|
||||
WPS115,
|
||||
# Numbers are normal in config files.
|
||||
WPS432,
|
||||
src/urban_meal_delivery/forecasts/decomposition.py:
|
||||
# The module does not have a high cognitive complexity.
|
||||
WPS232,
|
||||
|
|
@ -166,8 +166,6 @@ per-file-ignores =
|
|||
WPS402,
|
||||
# Allow closures.
|
||||
WPS430,
|
||||
# Numbers are normal in test cases as expected results.
|
||||
WPS432,
|
||||
# When testing, it is normal to use implementation details.
|
||||
WPS437,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue