Skip to content

Commit

Permalink
Fixes ignorance towards type checking bloat
Browse files Browse the repository at this point in the history
  • Loading branch information
funkyfuture committed Apr 16, 2024
1 parent e5573a9 commit ff8a79b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _delb/xpath/ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@
from collections.abc import Callable, Iterable, Iterator, Sequence
from functools import wraps
from textwrap import indent
from typing import TYPE_CHECKING, cast, Any, NamedTuple, Optional
from typing import TYPE_CHECKING, cast, Any, NamedTuple, Optional


from _delb.exceptions import InvalidCodePath, XPathEvaluationError, XPathParsingError
from _delb.plugins import plugin_manager as _plugin_manager
from _delb.typing import Final
from _delb.utils import _is_node_of_type

# REMOVE when support for Python 3.7 is dropped
Expand All @@ -39,6 +38,7 @@
if TYPE_CHECKING:
from _delb.names import Namespaces
from _delb.nodes import NodeBase, ProcessingInstructionNode, TagNode
from _delb.typing import Final


xpath_functions: Final = _plugin_manager.xpath_functions
Expand Down

0 comments on commit ff8a79b

Please sign in to comment.