diff options
Diffstat (limited to 'pylint/reporters/json_reporter.py')
-rw-r--r-- | pylint/reporters/json_reporter.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/pylint/reporters/json_reporter.py b/pylint/reporters/json_reporter.py index 74fa6672b..176946e72 100644 --- a/pylint/reporters/json_reporter.py +++ b/pylint/reporters/json_reporter.py @@ -7,19 +7,13 @@ from __future__ import annotations import json -import sys -from typing import TYPE_CHECKING, Optional +from typing import TYPE_CHECKING, Optional, TypedDict from pylint.interfaces import UNDEFINED from pylint.message import Message from pylint.reporters.base_reporter import BaseReporter from pylint.typing import MessageLocationTuple -if sys.version_info >= (3, 8): - from typing import TypedDict -else: - from typing_extensions import TypedDict - if TYPE_CHECKING: from pylint.lint.pylinter import PyLinter from pylint.reporters.ureports.nodes import Section |