mirror of
https://github.com/hwchase17/langchain.git
synced 2025-10-26 13:21:40 +00:00
chore(cli): add mypy strict checking (#32386)
Co-authored-by: Mason Daugherty <mason@langchain.dev>
This commit is contained in:
committed by
GitHub
parent
444939945a
commit
e3c4aeaea1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user