Skip to content

Commit ee1d70f

Browse files
authored
Update pre-commit hooks (#3058)
* Update pre-commit hooks * Update type checking code
1 parent 8826415 commit ee1d70f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ci:
66
default_stages: [pre-commit, pre-push]
77
repos:
88
- repo: https://github.com/astral-sh/ruff-pre-commit
9-
rev: v0.9.9
9+
rev: v0.11.9
1010
hooks:
1111
- id: ruff
1212
args: ["--fix", "--show-fixes"]
@@ -40,7 +40,7 @@ repos:
4040
- hypothesis
4141
- s3fs
4242
- repo: https://github.com/scientific-python/cookie
43-
rev: 2025.01.22
43+
rev: 2025.05.02
4444
hooks:
4545
- id: sp-repo-review
4646
- repo: https://github.com/pre-commit/pygrep-hooks

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ extend-select = [
310310
"RUF",
311311
"SIM", # flake8-simplify
312312
"SLOT", # flake8-slots
313-
"TCH", # flake8-type-checking
313+
"TC", # flake8-type-checking
314314
"TRY", # tryceratops
315315
"UP", # pyupgrade
316316
"W", # pycodestyle warnings
@@ -338,6 +338,7 @@ ignore = [
338338
"Q003",
339339
"COM812",
340340
"COM819",
341+
"TC006",
341342
]
342343

343344
[tool.ruff.lint.extend-per-file-ignores]

0 commit comments

Comments
 (0)