Skip to content

Commit d82f215

Browse files
committed
Add ignore all ruff lint rules that can interfere with ruff format
1 parent 336502a commit d82f215

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

pyproject.toml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,22 @@ select = [
222222
]
223223
ignore = [
224224
# `uv run ruff rule E501` for a description of that rule
225-
"TC006", # Add quotes to type expression in typing.cast() (not needed except for forward references)
226-
"UP007", # Use X | Y for type annotations (requires Python 3.10+)
227-
"UP017", # Use datetime.UTC alias (requires Python 3.11+)
225+
"COM812", # Conflicts with ruff format (see https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules)
226+
"COM819", # Conflicts with ruff format
227+
"D206", # Conflicts with ruff format
228+
"D300", # Conflicts with ruff format
229+
"E111", # Conflicts with ruff format
230+
"E114", # Conflicts with ruff format
231+
"E117", # Conflicts with ruff format
232+
"ISC002", # Conflicts with ruff format
233+
"Q000", # Conflicts with ruff format
234+
"Q001", # Conflicts with ruff format
235+
"Q002", # Conflicts with ruff format
236+
"Q003", # Conflicts with ruff format
237+
"TC006", # Add quotes to type expression in typing.cast() (not needed except for forward references)
238+
"UP007", # Use X | Y for type annotations (requires Python 3.10+)
239+
"UP017", # Use datetime.UTC alias (requires Python 3.11+)
240+
"W191", # Conflicts with ruff format
228241
]
229242

230243
# Allow fix for all enabled rules (when `--fix`) is provided.

0 commit comments

Comments
 (0)