response v2 #15
ci-cd.yml
on: push
Run tests
53s
run pre-commit
15s
Annotations
11 errors and 1 warning
run pre-commit
Process completed with exit code 1.
|
Run tests:
server/cli.py#L49
Expected no arguments to "Response" constructor (reportCallIssue)
|
Run tests:
server/controllers/admin.py#L135
Invalid conditional operand of type "Series | NDArray[bool_]"
Method __bool__ for type "Series" returns type "NoReturn" rather than "bool" (reportGeneralTypeIssues)
|
Run tests:
server/controllers/admin.py#L138
Invalid conditional operand of type "Series | NDArray[bool_]"
Method __bool__ for type "Series" returns type "NoReturn" rather than "bool" (reportGeneralTypeIssues)
|
Run tests:
server/controllers/emails.py#L291
Expected no arguments to "Response" constructor (reportCallIssue)
|
Run tests:
server/models/thread.py#L20
"sender" is not a known member of "None" (reportOptionalMemberAccess)
|
Run tests:
server/nlp/embeddings.py#L63
"Embedding" is not a known member of module "openai" (reportAttributeAccessIssue)
|
Run tests:
server/nlp/embeddings.py#L75
Argument of type "ResponseT" cannot be assigned to parameter "iterable" of type "Iterable[SupportsRichComparisonT@sorted]" in function "sorted"
Type "ResponseT" cannot be assigned to type "Iterable[SupportsRichComparisonT@sorted]"
"Awaitable[Unknown]" is incompatible with protocol "Iterable[SupportsRichComparisonT@sorted]"
"__iter__" is not present (reportArgumentType)
|
Run tests:
server/nlp/embeddings.py#L83
"__getitem__" method not defined on type "int" (reportIndexIssue)
|
Run tests:
server/nlp/embeddings.py#L83
"__getitem__" method not defined on type "float" (reportIndexIssue)
|
Run tests:
server/nlp/embeddings.py#L83
"__getitem__" method not defined on type "bool" (reportIndexIssue)
|
Run tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: jakebailey/pyright-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|