chore: disable some Python lints introduced in ruff 0.12

This commit is contained in:
link2xt
2025-06-17 22:37:06 +00:00
committed by l
parent 139fbfae85
commit 0d36c85568
2 changed files with 7 additions and 0 deletions

View File

@@ -66,6 +66,9 @@ lint.select = [
"RUF006" # asyncio-dangling-task
]
lint.ignore = [
"PLC0415" # `import` should be at the top-level of a file
]
line-length = 120
[tool.isort]

View File

@@ -47,6 +47,10 @@ line-length = 120
[tool.ruff]
lint.select = ["E", "F", "W", "YTT", "C4", "ISC", "ICN", "TID", "DTZ", "PLC", "PLE", "PLW", "PIE", "COM", "UP004", "UP010", "UP031", "UP032", "ANN204"]
lint.ignore = [
"PLC0415", # `import` should be at the top-level of a file
"PLW1641" # Object does not implement `__hash__` method
]
line-length = 120
[tool.isort]