Fix linting issues (#12898)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Alex Waygood
2024-10-24 14:26:37 +01:00
committed by GitHub
parent 783171b9f7
commit 9ed47fa8ec
5 changed files with 8 additions and 16 deletions

View File

@@ -2036,7 +2036,6 @@ class NodeVisitor:
@deprecated("Replaced by visit_Constant; removed in Python 3.14")
def visit_Ellipsis(self, node: Ellipsis) -> Any: ... # type: ignore[deprecated]
class NodeTransformer(NodeVisitor):
def generic_visit(self, node: AST) -> AST: ...
# TODO: Override the visit_* methods with better return types.