Enable pyright for Python 3.11 (#6904)

This commit is contained in:
Akuli authored and GitHub committed 2022-01-12 20:07:57 +01:00
1 parent a4b30c4360
commit b2375ddaeb
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ class _EnumDict(dict[str, Any]):
class EnumMeta(ABCMeta):
if sys.version_info >= (3, 11):
def __new__(
metacls: type[Self],
metacls: type[Self], # type: ignore
cls: str,
bases: tuple[type, ...],
classdict: _EnumDict,