chore(cli): add mypy strict checking (#32386)

Co-authored-by: Mason Daugherty <mason@langchain.dev>
This commit is contained in:
Christophe Bornet
2025-08-30 20:02:45 +02:00
committed by GitHub
parent 444939945a
commit e3c4aeaea1
9 changed files with 70 additions and 48 deletions

View File

@@ -24,7 +24,7 @@ class ImportExtractor(ast.NodeVisitor):
def __init__(self, *, from_package: Optional[str] = None) -> None:
"""Extract all imports from the given code, optionally filtering by package."""
self.imports: list = []
self.imports: list[tuple[str, str]] = []
self.package = from_package
@override