diff --git a/pyproject.toml b/pyproject.toml index 01c40d8..ba2d00b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,6 +87,8 @@ skip-string-normalization = true [tool.ruff] target-version = "py310" line-length = 120 + +[tool.ruff.lint] select = [ "A", "ARG", @@ -129,13 +131,13 @@ unfixable = [ "F401", ] -[tool.ruff.isort] +[tool.ruff.lint.isort] known-first-party = ["infra_rebuild"] -[tool.ruff.flake8-tidy-imports] +[tool.ruff.lint.flake8-tidy-imports] ban-relative-imports = "all" -[tool.ruff.per-file-ignores] +[tool.ruff.lint.per-file-ignores] # Tests can use magic values, assertions, and relative imports "tests/**/*" = ["PLR2004", "S101", "TID252"]