diff --git a/pyproject.toml b/pyproject.toml index 667b535961..f90c529851 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -169,11 +169,14 @@ rest_framework = ["rest_framework"] "rdmo/**/views/__init__.py" = [ "F401", # unused-import ] -# Ignore certain rules for tests, e.g. usage of assert is allowed "rdmo/**/tests/test_*.py" = [ "S101", # assert "S106", # hardcoded-password-func-arg ] +"testing/config/settings/__init__.py" = [ + "F401", # unused-import + "F403", # undefined-names +] [tool.pytest.ini_options] DJANGO_SETTINGS_MODULE = "config.settings"