Skip to content

Commit 0d36c85

Browse files
committed
chore: disable some Python lints introduced in ruff 0.12
1 parent 139fbfa commit 0d36c85

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

deltachat-rpc-client/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ lint.select = [
6666

6767
"RUF006" # asyncio-dangling-task
6868
]
69+
lint.ignore = [
70+
"PLC0415" # `import` should be at the top-level of a file
71+
]
6972
line-length = 120
7073

7174
[tool.isort]

python/pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ line-length = 120
4747

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

5256
[tool.isort]

0 commit comments

Comments
 (0)