Fix lint configuration warnings

Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
This commit is contained in:
Bob Haddleton 2024-06-25 18:37:39 -05:00
parent a24b927baf
commit c214b4b1ba
1 changed files with 3 additions and 3 deletions

View File

@ -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]