We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87e65f3 commit 42c9c5dCopy full SHA for 42c9c5d
.pre-commit-config.yaml
@@ -1,12 +1,12 @@
1
repos:
2
- repo: https://github.com/astral-sh/ruff-pre-commit
3
- rev: v0.6.5
+ rev: v0.7.0
4
hooks:
5
- id: ruff
6
args:
7
- --fix
8
- repo: https://github.com/pre-commit/pre-commit-hooks
9
- rev: v4.6.0
+ rev: v5.0.0
10
11
- id: trailing-whitespace
12
- id: end-of-file-fixer
.ruff.toml
@@ -60,7 +60,7 @@ lint.select = [
60
"T20", # flake8-print
61
"TID251", # Banned imports
62
"TRY004", # Prefer TypeError exception for invalid type
63
- "TRY302", # Remove exception handler; error is immediately re-raised
+ "TRY203", # Remove exception handler; error is immediately re-raised
64
"UP", # pyupgrade
65
"W", # pycodestyle
66
]
0 commit comments