style: ignore string over-use in migrations files

This commit is contained in:
Mike 2023-02-22 08:08:59 -07:00
parent 8cc237e7a3
commit f1831deafa

View file

@ -39,8 +39,9 @@ ignore =
DAR203
per-file-ignores =
# Allow to have magic numbers inside migrations and wrong module names:
*/migrations/*.py: WPS102, WPS114, WPS432
# Allow to have magic numbers inside migrations, wrong module names,
# and string over-use:
*/migrations/*.py: WPS102, WPS114, WPS226, WPS432
# Allow `__init__.py` with logic for configuration:
test_project/settings.py: S105, WPS226, WPS407
tests/test_*.py: N806, S101, S404, S603, S607, WPS118, WPS226, WPS432, WPS442