Skip to content

Commit

Permalink
Upgrade ruff to 0.9.1
Browse files Browse the repository at this point in the history
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!
  • Loading branch information
DimitriPapadopoulos committed Jan 14, 2025
1 parent 5502dc8 commit 93d0c56
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
- id: debug-statements

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
rev: v0.9.1
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,6 @@ ignore = [
"Q003",
"COM812",
"COM819",
"ISC001",
"ISC002",
]

[tool.ruff.lint.extend-per-file-ignores]
Expand Down

0 comments on commit 93d0c56

Please sign in to comment.