mirror of
https://github.com/chatmail/core.git
synced 2026-04-02 05:22:14 +03:00
chore: disable some Python lints introduced in ruff 0.12
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user