[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
+1 -2
View File
@@ -38,8 +38,7 @@ class EnableGroup(StrEnum):
@classmethod
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}) # type: ignore[arg-type]
return frozenset(set(cls) - {cls.CPythonFreeThreading})
@classmethod
def parse_option_value(cls, value: str) -> frozenset[Self]: