Closed psaegert closed 9 months ago
Currently, these mypy errors are covered by the signature analyzer:
error: Unexpected keyword argument "seed" for "LLMCoder" [call-arg]
error: "ElasticsearchStore" has no attribute "flush" [attr-defined]
error: Too many positional arguments for "ElasticsearchStore" [misc]
error: Unexpected keyword argument "schema" for "ElasticsearchStore" [call-arg]
error: Argument 4 to "ElasticsearchStore" has incompatible type "dict[str, str]"; expected "str | None" [arg-type]
error: Missing positional argument "completion" in call to "analyze" of "APIDocumentationAnalyzer" [call-arg]
APIDocumentationAnalyzer.analyzer
error: Too many arguments for "split_text" of "RecursiveCharacterTextSplitter" [call-arg]
APIDocumentationAnalyzer.split_text
error: Signature of "analyze" incompatible with supertype "Analyzer" [override]
Analyzer.analyze
Additionally, these mypy errors sometimes appear but cannot be fixed by the signature analyzer
error: No overload variant of "tqdm" matches argument type "DirectoryLoader" [call-overload]
error: List item 2 has incompatible type "tuple[str | None, ...]"; expected "str | bytes | PathLike[str] | PathLike[bytes]" [list-item]
Currently, these mypy errors are covered by the signature analyzer:
error: Unexpected keyword argument "seed" for "LLMCoder" [call-arg]
error: "ElasticsearchStore" has no attribute "flush" [attr-defined]
(covered by HallucinationAnalyzer)error: Too many positional arguments for "ElasticsearchStore" [misc]
error: Unexpected keyword argument "schema" for "ElasticsearchStore" [call-arg]
error: Argument 4 to "ElasticsearchStore" has incompatible type "dict[str, str]"; expected "str | None" [arg-type]
error: Missing positional argument "completion" in call to "analyze" of "APIDocumentationAnalyzer" [call-arg]
APIDocumentationAnalyzer.analyzer
error: Too many arguments for "split_text" of "RecursiveCharacterTextSplitter" [call-arg]
APIDocumentationAnalyzer.split_text
error: Signature of "analyze" incompatible with supertype "Analyzer" [override]
Analyzer.analyze
Additionally, these mypy errors sometimes appear but cannot be fixed by the signature analyzer
error: No overload variant of "tqdm" matches argument type "DirectoryLoader" [call-overload]
error: List item 2 has incompatible type "tuple[str | None, ...]"; expected "str | bytes | PathLike[str] | PathLike[bytes]" [list-item]