summaryrefslogtreecommitdiff
path: root/pylint/typing.py
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2022-05-05 13:22:23 +0200
committerGitHub <noreply@github.com>2022-05-05 13:22:23 +0200
commit647b05e964779f5bd0d449998580a37344784c0a (patch)
tree3d87bf72a278f0837896a51ed8cedb620ae8f7b9 /pylint/typing.py
parentd4d85a5c5887b1739bf376a8f875450fc61fd534 (diff)
downloadpylint-git-647b05e964779f5bd0d449998580a37344784c0a.tar.gz
Move AstCallback (#6502)
Diffstat (limited to 'pylint/typing.py')
-rw-r--r--pylint/typing.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/pylint/typing.py b/pylint/typing.py
index 0af2f214c..f5650c1e7 100644
--- a/pylint/typing.py
+++ b/pylint/typing.py
@@ -27,8 +27,6 @@ else:
from typing_extensions import Literal, TypedDict
if TYPE_CHECKING:
- from astroid import nodes
-
from pylint.config.callback_actions import _CallbackAction
from pylint.reporters.ureports.nodes import Section
from pylint.utils import LinterStats
@@ -112,9 +110,6 @@ OptionDict = Dict[
Options = Tuple[Tuple[str, OptionDict], ...]
-AstCallback = Callable[["nodes.NodeNG"], None]
-"""Callable representing a visit or leave function."""
-
ReportsCallable = Callable[["Section", "LinterStats", Optional["LinterStats"]], None]
"""Callable to create a report."""