cli[patch]: ruff 0.5 (#23833)

This commit is contained in:
Bagatur
2024-07-03 14:33:15 -04:00
committed by GitHub
parent 55f6f91f17
commit a4798802ef
19 changed files with 42 additions and 29 deletions

View File

@@ -1,4 +1,5 @@
"""Handle a test case where the import is updated and may involve an alias change."""
from tests.unit_tests.migrate.cli_runner.case import Case
from tests.unit_tests.migrate.cli_runner.file import File

View File

@@ -3,6 +3,7 @@
Migration script only updates imports not the rest of the code that uses the
import.
"""
from langchain_cli.namespaces.migrate.codemods.replace_imports import (
RULE_TO_PATHS,
_load_migrations_from_fixtures,