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

@@ -4,7 +4,7 @@ from pathlib import Path
import rich
import typer
from gritql import run # type: ignore[import]
from gritql import run # type: ignore[import-untyped]
from typer import Option
@@ -68,7 +68,7 @@ def migrate(
final_code = run.apply_pattern(
"langchain_all_migrations()",
args,
grit_dir=get_gritdir_path(),
grit_dir=str(get_gritdir_path()),
)
raise typer.Exit(code=final_code)