@@ -455,22 +455,28 @@ ignore = [
455455 " E704" ,
456456# WPS220 Found too deep nesting: 34 > 20
457457 " WPS220" ,
458+ # WPS412 Found `__init__.py` module with logic
459+ " WPS412" ,
460+ # WPS410 Found wrong metadata variable: __all__
461+ " WPS410" ,
458462]
459463
460464per-file-ignores = [
461- # F401 imported but unused
462- # WPS410 Found wrong metadata variable: __all__
463- # WPS412 Found `__init__.py` module with logic
464- " __init__.py:F401,WPS410,WPS412" ,
465465# WPS102 Found incorrect module name pattern
466466# WPS432 Found magic number: 256
467467 " *migrations/*.py:WPS102,WPS432" ,
468468 " *db/models/*.py:WPS102,WPS432" ,
469+ " *db/mixins/*.py:WPS102,WPS432" ,
470+ # WPS432 Found magic number: 180
471+ " *settings/*.py:WPS432" ,
469472# WPS404 Found complex default value
470473 " *server/api/*.py:WPS404" ,
471474# WPS237 Found a too complex `f` string
472475 " *exceptions/*.py:WPS237" ,
473476 " *exceptions/__init__.py:F40,WPS410" ,
477+ # WPS201 Found module with too many imports: 30 > 25
478+ # WPS203 Found module with too many imported names: 55 > 50
479+ " syncmaster/worker/controller.py:WPS201,WPS203" ,
474480# TAE001 too few type annotations
475481# WPS231 Found function with too much cognitive complexity
476482# S101 Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
0 commit comments