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

@@ -1,4 +1,4 @@
from typing import Optional
from typing import Any, Optional
import pytest
@@ -16,7 +16,7 @@ def _assert_dependency_equals(
git: Optional[str] = None,
ref: Optional[str] = None,
subdirectory: Optional[str] = None,
event_metadata: Optional[dict] = None,
event_metadata: Optional[dict[str, Any]] = None,
) -> None:
if dep["git"] != git:
msg = f"Expected git to be {git} but got {dep['git']}"