Skip to content

Commit 65636b3

Browse files
committed
Update Ruff
1 parent 074b9e1 commit 65636b3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ci:
44

55
repos:
66
- repo: https://github.com/astral-sh/ruff-pre-commit
7-
rev: v0.11.12
7+
rev: v0.12.4
88
hooks:
99
- id: ruff-check
1010
args: [--fix, --exit-non-zero-on-fix]

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,10 @@ ignore = [
139139
"N802", # some names are non-pep8 due to stdlib logging / Twisted
140140
"N803", # ditto
141141
"N806", # ditto
142+
"PLC0415", # sometimes, imports have to live elsewhere
142143
"PLR0913", # leave complexity to me
143144
"PLR2004", # numbers are sometimes fine
145+
"PLW1641", # unhashable is often fine
144146
"PLW2901", # overwriting a loop var can be useful
145147
"RUF001", # leave my smart characters alone
146148
"SLF001", # private members are accessed by friendly functions

0 commit comments

Comments
 (0)