mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-16 15:04:13 +00:00
infra: add -p to mkdir in lint steps (#17013)
Previously, if this did not find a mypy cache then it wouldnt run this makes it always run adding mypy ignore comments with existing uncaught issues to unblock other prs --------- Co-authored-by: Erick Friis <erick@langchain.dev> Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
This commit is contained in:
@@ -167,5 +167,5 @@ class TestAstraDB:
|
||||
find_options={"limit": 30},
|
||||
extraction_function=lambda x: x["foo"],
|
||||
)
|
||||
doc = await anext(loader.alazy_load())
|
||||
doc = await anext(loader.alazy_load()) # type: ignore[name-defined]
|
||||
assert doc.page_content == "bar"
|
||||
|
@@ -14,7 +14,7 @@ CASSANDRA_TABLE = "docloader_test_table"
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True, scope="session")
|
||||
def keyspace() -> str:
|
||||
def keyspace() -> str: # type: ignore[misc]
|
||||
import cassio
|
||||
from cassandra.cluster import Cluster
|
||||
from cassio.config import check_resolve_session, resolve_keyspace
|
||||
|
Reference in New Issue
Block a user