Fix lint configuration warnings
Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
This commit is contained in:
parent
a24b927baf
commit
c214b4b1ba
|
@ -73,7 +73,7 @@ packages = ["crossplane"]
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
target-version = "py311"
|
target-version = "py311"
|
||||||
exclude = ["crossplane/function/proto/*"]
|
exclude = ["crossplane/function/proto/*"]
|
||||||
select = [
|
lint.select = [
|
||||||
"A",
|
"A",
|
||||||
"ARG",
|
"ARG",
|
||||||
"ASYNC",
|
"ASYNC",
|
||||||
|
@ -103,12 +103,12 @@ select = [
|
||||||
"W",
|
"W",
|
||||||
"YTT",
|
"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]
|
[tool.ruff.lint.per-file-ignores]
|
||||||
"tests/*" = ["D"] # Don't require docstrings for tests.
|
"tests/*" = ["D"] # Don't require docstrings for tests.
|
||||||
|
|
||||||
[tool.ruff.isort]
|
[tool.ruff.lint.isort]
|
||||||
known-first-party = ["crossplane"]
|
known-first-party = ["crossplane"]
|
||||||
|
|
||||||
[tool.ruff.lint.pydocstyle]
|
[tool.ruff.lint.pydocstyle]
|
||||||
|
|
Loading…
Reference in New Issue