From c214b4b1ba16d55ce94dba2534d75bb07bf8663c Mon Sep 17 00:00:00 2001 From: Bob Haddleton Date: Tue, 25 Jun 2024 18:37:39 -0500 Subject: [PATCH] Fix lint configuration warnings Signed-off-by: Bob Haddleton --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9e9f46d..288f7a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,7 +73,7 @@ packages = ["crossplane"] [tool.ruff] target-version = "py311" exclude = ["crossplane/function/proto/*"] -select = [ +lint.select = [ "A", "ARG", "ASYNC", @@ -103,12 +103,12 @@ select = [ "W", "YTT", ] -ignore = ["ISC001"] # Ruff warns this is incompatible with ruff format. +lint.ignore = ["ISC001"] # Ruff warns this is incompatible with ruff format. [tool.ruff.lint.per-file-ignores] "tests/*" = ["D"] # Don't require docstrings for tests. -[tool.ruff.isort] +[tool.ruff.lint.isort] known-first-party = ["crossplane"] [tool.ruff.lint.pydocstyle]