fix nathan wang type errors #23
ci-cd.yml
on: push
Run tests
55s
run pre-commit
16s
Annotations
11 errors and 1 warning
run pre-commit
Process completed with exit code 1.
|
Run tests:
server/cli.py#L28
Argument missing for parameter "last_email" (reportCallIssue)
|
Run tests:
server/cli.py#L31
Argument missing for parameter "thread" (reportCallIssue)
|
Run tests:
server/cli.py#L55
Argument of type "str" cannot be assigned to parameter "email_id" of type "SQLCoreOperations[int] | int" in function "__init__"
Type "str" cannot be assigned to type "SQLCoreOperations[int] | int"
"str" is incompatible with "SQLCoreOperations[int]"
"str" is incompatible with "int" (reportArgumentType)
|
Run tests:
server/controllers/admin.py#L33
Cannot access member "query" for type "type[Document]"
Member "query" is unknown (reportAttributeAccessIssue)
|
Run tests:
server/controllers/admin.py#L50
Cannot access member "query" for type "type[Document]"
Member "query" is unknown (reportAttributeAccessIssue)
|
Run tests:
server/controllers/admin.py#L64
Cannot access member "query" for type "type[Document]"
Member "query" is unknown (reportAttributeAccessIssue)
|
Run tests:
server/controllers/admin.py#L71
Cannot access member "query" for type "type[Document]"
Member "query" is unknown (reportAttributeAccessIssue)
|
Run tests:
server/controllers/admin.py#L110
Cannot access member "query" for type "type[Document]"
Member "query" is unknown (reportAttributeAccessIssue)
|
Run tests:
server/controllers/admin.py#L135
Argument of type "Series | Any | ndarray[Any, Unknown] | Unknown | NDArray[Unknown] | Literal['']" cannot be assigned to parameter "question" of type "SQLCoreOperations[str] | str" in function "__init__" (reportArgumentType)
|
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
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/.
|