Skip to content

Commit db6372a

Browse files
Disable more ruff rules (#1610)
They are not compatible with `ruff format` or are actual anti-patterns.
1 parent 7b604b8 commit db6372a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

pyproject.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,23 @@ ignore = [
189189
# Fix these codes later
190190
"G004",
191191
"PERF203",
192+
# https://github.com/astral-sh/ruff/issues/7871
193+
"UP038",
194+
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
195+
"W191",
196+
"E111",
197+
"E114",
198+
"E117",
199+
"D206",
200+
"D300",
201+
"Q000",
202+
"Q001",
203+
"Q002",
204+
"Q003",
205+
"COM812",
206+
"COM819",
207+
"ISC001",
208+
"ISC002",
192209
]
193210

194211
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)