Skip to content

Commit b0b887d

Browse files
committed
Do not autofix ERA001 ruff error
1 parent b15b37f commit b0b887d

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
@@ -219,6 +219,11 @@ ignore = [
219219
"S311",
220220
]
221221

222+
# Do not automatically remove commented out code.
223+
# We comment out code during development, and with VSCode auto-save, this code
224+
# is sometimes annoyingly removed.
225+
unfixable = ["ERA001"]
226+
222227
line-length = 79
223228
target-version = "py311"
224229

0 commit comments

Comments
 (0)