Skip to content

Commit 42c9c5d

Browse files
committed
Minor adjustments in pre-commit and ruff
1 parent 87e65f3 commit 42c9c5d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.6.5
3+
rev: v0.7.0
44
hooks:
55
- id: ruff
66
args:
77
- --fix
88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v4.6.0
9+
rev: v5.0.0
1010
hooks:
1111
- id: trailing-whitespace
1212
- id: end-of-file-fixer

.ruff.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ lint.select = [
6060
"T20", # flake8-print
6161
"TID251", # Banned imports
6262
"TRY004", # Prefer TypeError exception for invalid type
63-
"TRY302", # Remove exception handler; error is immediately re-raised
63+
"TRY203", # Remove exception handler; error is immediately re-raised
6464
"UP", # pyupgrade
6565
"W", # pycodestyle
6666
]

0 commit comments

Comments
 (0)