Skip to content

Commit 4af5acd

Browse files
Merge pull request #1513 from VWS-Python/unfixable-era001
Do not autofix ERA001 ruff error
2 parents 1092a3e + b0b887d commit 4af5acd

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

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

0 commit comments

Comments
 (0)