diff options
Diffstat (limited to 'pylint/utils/linterstats.py')
-rw-r--r-- | pylint/utils/linterstats.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/pylint/utils/linterstats.py b/pylint/utils/linterstats.py index 01120115f..e7a088b7b 100644 --- a/pylint/utils/linterstats.py +++ b/pylint/utils/linterstats.py @@ -4,16 +4,10 @@ from __future__ import annotations -import sys -from typing import cast +from typing import Literal, TypedDict, cast from pylint.typing import MessageTypesFullName -if sys.version_info >= (3, 8): - from typing import Literal, TypedDict -else: - from typing_extensions import Literal, TypedDict - class BadNames(TypedDict): """TypedDict to store counts of node types with bad names.""" |