Skip to content

Commit 93d0c56

Browse files
Upgrade ruff to 0.9.1
Starting with ruff 0.9.1, rules ISC001/ISC002 are documented to be compatible with the ruff formatter, if they are both enabled. Enable them!
1 parent 5502dc8 commit 93d0c56

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
- id: debug-statements
1515

1616
- repo: https://github.com/astral-sh/ruff-pre-commit
17-
rev: v0.8.4
17+
rev: v0.9.1
1818
hooks:
1919
- id: ruff
2020
args: ["--fix", "--show-fixes"]

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,6 @@ ignore = [
219219
"Q003",
220220
"COM812",
221221
"COM819",
222-
"ISC001",
223-
"ISC002",
224222
]
225223

226224
[tool.ruff.lint.extend-per-file-ignores]

0 commit comments

Comments
 (0)