[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:
co-authored by
henryiii
copilot-swe-agent[bot]
Henry Schreiner
parent
3c2956fe9b
commit
075b5c8881
@@ -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]:
|
||||
|
||||
Reference in New Issue
Block a user