Set kw_only=True in all dataclasses #222
Annotations
10 errors and 4 warnings
|
lint-stage:
tests/unit/ai/engine/test_langchain_backend.py#L565
Expected 0 positional arguments (reportCallIssue)
|
|
lint-stage:
tests/unit/ai/engine/test_langchain_backend.py#L553
Expected 0 positional arguments (reportCallIssue)
|
|
lint-stage:
tests/unit/ai/engine/test_langchain_backend.py#L258
Expected 0 positional arguments (reportCallIssue)
|
|
lint-stage:
tests/unit/ai/engine/test_langchain_backend.py#L242
Expected 0 positional arguments (reportCallIssue)
|
|
lint-stage:
tests/integration/ai/test_structured_output.py#L739
Expected 0 positional arguments (reportCallIssue)
|
|
lint-stage:
tests/integration/ai/test_structured_output.py#L702
Expected 0 positional arguments (reportCallIssue)
|
|
lint-stage:
tests/integration/ai/test_middleware.py#L478
Expected 0 positional arguments (reportCallIssue)
|
|
lint-stage:
tests/integration/ai/test_middleware.py#L194
Expected 0 positional arguments (reportCallIssue)
|
|
lint-stage:
tests/integration/ai/test_conversation_store.py#L132
Expected 0 positional arguments (reportCallIssue)
|
|
lint-stage:
tests/integration/ai/test_conversation_store.py#L131
Argument of type "list[HumanMessage | AIMessage]" cannot be assigned to parameter "messages" of type "list[BaseMessage]" in function "__init__" (reportArgumentType)
|
|
lint-stage:
splunklib/ai/engines/langchain.py#L295
Unnecessary "# pyright: ignore" rule: "reportUnknownArgumentType" (reportUnnecessaryTypeIgnoreComment)
|
|
lint-stage:
splunklib/ai/engines/langchain.py#L294
Argument type is partially unknown
Argument corresponds to parameter "object" in function "__new__"
Argument type is "str | list[str | dict[Unknown, Unknown]]" (reportUnknownArgumentType)
|
|
lint-stage:
splunklib/ai/engines/langchain.py#L291
Unnecessary "# pyright: ignore" rule: "reportUnknownArgumentType" (reportUnnecessaryTypeIgnoreComment)
|
|
lint-stage:
splunklib/ai/engines/langchain.py#L290
Argument type is partially unknown
Argument corresponds to parameter "object" in function "__new__"
Argument type is "str | list[str | dict[Unknown, Unknown]]" (reportUnknownArgumentType)
|