Skip to content

Commit ed411a8

Browse files
Merge pull request #1841 from VWS-Python/unfixable-era001
Do not autofix ERA001 ruff error
2 parents ec4833c + a128f61 commit ed411a8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,11 @@ ignore = [
195195
"S311",
196196
]
197197

198+
# Do not automatically remove commented out code.
199+
# We comment out code during development, and with VSCode auto-save, this code
200+
# is sometimes annoyingly removed.
201+
unfixable = ["ERA001"]
202+
198203
[tool.ruff.per-file-ignores]
199204
"tests/test_*.py" = [
200205
# Do not require tests to have a one-line summary.

0 commit comments

Comments
 (0)