fix ci-cd yml typo #14
ci-cd.yml
on: push
Run tests
55s
run pre-commit
15s
Annotations
11 errors and 1 warning
run pre-commit
Process completed with exit code 1.
|
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/models/response.py#L39
"map" is not a known member of "None" (reportOptionalMemberAccess)
|
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:
server/nlp/embeddings.py#L83
Object of type "None" is not subscriptable (reportOptionalSubscript)
|
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/.
|