diff --git a/pyproject.toml b/pyproject.toml index 359591c3..14382a40 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,9 +94,7 @@ disallow_untyped_calls = true [tool.pytest.ini_options] addopts = "--tb=short -rxs --nomigrations" -[tool.ruff] -target-version = "py38" - +[tool.ruff.lint] select = [ "S", # flake8-bandit "B", # flake8-bugbear @@ -113,19 +111,19 @@ select = [ ignore = ["B904", "E501", "S101", "D1", "D212"] -[tool.ruff.per-file-ignores] +[tool.ruff.lint.per-file-ignores] "tests/test_*.py" = [ "S", ] -[tool.ruff.isort] +[tool.ruff.lint.isort] combine-as-imports=true split-on-trailing-comma=true section-order = ["future", "standard-library", "django", "third-party", "first-party", "local-folder"] force-wrap-aliases=true -[tool.ruff.isort.sections] +[tool.ruff.lint.isort.sections] django = ["django"] -[tool.ruff.pydocstyle] +[tool.ruff.lint.pydocstyle] convention = "google"