From 5978b0e92ff78c65ffb7194ae35f2155be255e61 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Wed, 15 Sep 2021 11:47:38 +0200 Subject: [PATCH] Modules are never 'too complex' --- setup.cfg | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/setup.cfg b/setup.cfg index e91e277..77c2c8c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -95,6 +95,8 @@ extend-ignore = RST201,RST203,RST210,RST213,RST301, # String constant over-use is checked visually by the programmer. WPS226, + # Modules as a whole are assumed to be not "too complex". + WPS232, # Allow underscores in numbers. WPS303, # f-strings are ok. @@ -141,24 +143,9 @@ per-file-ignores = src/urban_meal_delivery/configuration.py: # Allow upper case class variables within classes. WPS115, - src/urban_meal_delivery/console/forecasts.py: - # The module is not too complex. - WPS232, src/urban_meal_delivery/db/addresses_addresses.py: # The module does not have too many imports. WPS201, - src/urban_meal_delivery/db/customers.py: - # The module is not too complex. - WPS232, - src/urban_meal_delivery/db/restaurants.py: - # The module is not too complex. - WPS232, - src/urban_meal_delivery/forecasts/methods/decomposition.py: - # The module is not too complex. - WPS232, - src/urban_meal_delivery/forecasts/methods/extrapolate_season.py: - # The module is not too complex. - WPS232, src/urban_meal_delivery/forecasts/models/tactical/horizontal.py: # The many noqa's are ok. WPS403,