[tool.ruff] line-length = 100 target-version = "py312" extend-exclude = ["migrations", "staticfiles", "media"] [tool.ruff.lint] select = ["E", "F", "W", "I", "UP", "B", "DJ", "S"] ignore = ["E501", "S101"] [tool.ruff.lint.per-file-ignores] "**/tests/**" = ["S"] "**/settings/**" = ["S105", "S106"] [tool.pytest.ini_options] DJANGO_SETTINGS_MODULE = "config.settings.dev" python_files = ["test_*.py", "*_test.py", "tests.py"] addopts = "--reuse-db -ra"