Skip to content

Commit 2e535d0

Browse files
committed
"Update ruff pre-commit hook
"
1 parent 4def6d4 commit 2e535d0

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
@@ -101,6 +101,7 @@ ignore = [
101101
"PLR6301", # could-be-static no-self-use
102102
"PLC0415", # import outside toplevel
103103
"UP007", # x | y type annotation
104+
"UP045", # optional type annotation
104105
]
105106

106107
[format]

0 commit comments

Comments
 (0)