From 1384d0835aa107add29e071c8bd7a81d247c6cbf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 May 2024 19:20:43 +0000 Subject: [PATCH] chore: Fix lint errors --- pyproject.toml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7f38eaf..c1c710e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -100,8 +100,7 @@ all = [ line-length = 120 preview = true -[tool.ruff.lint] -select = [ +lint.select = [ "A", "ARG", "B", @@ -129,18 +128,16 @@ select = [ "W", "YTT", ] -ignore = [ +lint.unfixable = [ + # Don't touch unused imports + "F401", +] +lint.flake8-tidy-imports.ban-relative-imports = "all" +lint.ignore = [ # Conflict with the Ruff formatter "COM812", "ISC001", ] -unfixable = [ - # Don't touch unused imports - "F401", -] - -[tool.ruff.lint.flake8-tidy-imports] -ban-relative-imports = "all" [tool.pyproject-fmt] indent = 2