Skip to content

Commit 82ada04

Browse files
committed
"Update ruff pre-commit hook
"
1 parent 63c9af9 commit 82ada04

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: end-of-file-fixer
1111
- id: trailing-whitespace
1212
- repo: https://github.com/astral-sh/ruff-pre-commit
13-
rev: v0.3.4
13+
rev: v0.15.8
1414
hooks:
1515
- id: ruff-format
1616
- id: ruff

ruff.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ ignore = [
109109
"E501", # line too long
110110
"PLR0914", # too many local vars
111111
"E722", # bare except
112+
"UP045", # use X | None for type annotations
112113
]
113114

114115
[format]

0 commit comments

Comments
 (0)