Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ee1d70f

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

File tree

Expand file treeCollapse file tree

2 files changed

+4
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-3
lines changed

‎.pre-commit-config.yaml

Copy file name to clipboardExpand all lines: .pre-commit-config.yaml
+2-2Lines 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

Copy file name to clipboardExpand all lines: pyproject.toml
+2-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.