[pre-commit.ci] pre-commit autoupdate (#2813)

Co-authored-by: henryiii <4616906+henryiii@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
This commit is contained in:
pre-commit-ci[bot]
2026-04-07 14:46:13 +05:30
committed by GitHub
co-authored by henryiii copilot-swe-agent[bot] Henry Schreiner
parent 3c2956fe9b
commit 075b5c8881
3 changed files with 4 additions and 6 deletions
+3 -3
View File
@@ -16,14 +16,14 @@ repos:
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: 4924b0e01e032fea073ad04a1c5cfa7e4add0afb # frozen: v0.15.6 rev: c60c980e561ed3e73101667fe8365c609d19a438 # frozen: v0.15.9
hooks: hooks:
- id: ruff-check - id: ruff-check
args: ["--fix"] args: ["--fix"]
- id: ruff-format - id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: a66e98df7b4aeeb3724184b332785976d062b92e # frozen: v1.19.1 rev: 8e5c80792e2ec0c87804d8ef915bf35e2caea6da # frozen: v1.20.0
hooks: hooks:
- id: mypy - id: mypy
name: mypy 3.11 on cibuildwheel/ name: mypy 3.11 on cibuildwheel/
@@ -85,7 +85,7 @@ repos:
- repo: https://github.com/python-jsonschema/check-jsonschema - repo: https://github.com/python-jsonschema/check-jsonschema
rev: 9f48a48aa91a6040d749ad68ec70907d907a5a7f # frozen: 0.37.0 rev: ed81924a8b1cecdaa570b072528fa80c9c4d6ccd # frozen: 0.37.1
hooks: hooks:
- id: check-dependabot - id: check-dependabot
- id: check-github-actions - id: check-github-actions
+1 -2
View File
@@ -38,8 +38,7 @@ class EnableGroup(StrEnum):
@classmethod @classmethod
def all_groups(cls) -> frozenset[Self]: def all_groups(cls) -> frozenset[Self]:
# see https://github.com/python/mypy/issues/20434 for the reason to type: ignore[arg-type] return frozenset(set(cls) - {cls.CPythonFreeThreading})
return frozenset(set(cls) - {cls.CPythonFreeThreading}) # type: ignore[arg-type]
@classmethod @classmethod
def parse_option_value(cls, value: str) -> frozenset[Self]: def parse_option_value(cls, value: str) -> frozenset[Self]:
-1
View File
@@ -138,7 +138,6 @@ module = [
"setuptools._distutils.util", "setuptools._distutils.util",
"bashlex", "bashlex",
"bashlex.*", "bashlex.*",
"importlib_resources",
] ]
ignore_missing_imports = true ignore_missing_imports = true