Skip to content

Commit 7dbd360

Browse files
committed
ci(ruff): Remove eradicate / ERA
Other ruff rules have been beneficial, eradicate has removed comments we intended to keep. It requires too much overhead to be trusted for routine, automated fixups.
1 parent bd4fb65 commit 7dbd360

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ $ pip install --user --upgrade --pre libtmux
1414

1515
<!-- Maintainers and contributors: Insert change notes for the next release above -->
1616

17+
### Development
18+
19+
- ruff: Remove ERA / `eradicate` plugin
20+
21+
This rule had too many false positives to trust. Other ruff rules have been beneficial.
22+
1723
## libtmux 0.23.0 (2023-08-20)
1824

1925
_Maintenance only, no bug fixes, or new features_

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ select = [
140140
"C4", # flake8-comprehensions
141141
"Q", # flake8-quotes
142142
"PTH", # flake8-use-pathlib
143-
"ERA", # eradicate
144143
"SIM", # flake8-simplify
145144
"TRY", # Trycertatops
146145
"PERF", # Perflint

src/libtmux/formats.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# ruff: noqa: ERA001
21
"""Format variables for tmux objects.
32
43
libtmux.formats

0 commit comments

Comments
 (0)