修复获取小说文字接口并新增几条 API #679
Annotations
10 errors and 2 warnings
Run jakebailey/pyright-action@v1:
hibiapi/__main__.py#L93
Argument of type "type[str] | type[None]" cannot be assigned to parameter "template" of type "type[_T@get]" in function "get"
Type "UnionType" cannot be assigned to type "type[_T@get]" (reportArgumentType)
|
Run jakebailey/pyright-action@v1:
hibiapi/api/qrcode.py#L11
"QRCode" is unknown import symbol (reportAttributeAccessIssue)
|
Run jakebailey/pyright-action@v1:
hibiapi/api/pixiv/api.py#L165
Expression of type "str" cannot be assigned to return type "Dict[str, Any]"
"str" is incompatible with "Dict[str, Any]" (reportReturnType)
|
Run jakebailey/pyright-action@v1:
hibiapi/api/pixiv/api.py#L496
No overloads for "search" match the provided arguments (reportCallIssue)
|
Run jakebailey/pyright-action@v1:
hibiapi/api/pixiv/api.py#L496
Argument of type "Dict[str, Any]" cannot be assigned to parameter "string" of type "str" in function "search"
"Dict[str, Any]" is incompatible with "str" (reportArgumentType)
|
Run jakebailey/pyright-action@v1:
hibiapi/api/pixiv/api.py#L498
Argument of type "Dict[str, Any]" cannot be assigned to parameter "s" of type "str | bytes | bytearray" in function "loads"
Type "Dict[str, Any]" cannot be assigned to type "str | bytes | bytearray"
"Dict[str, Any]" is incompatible with "str"
"Dict[str, Any]" is incompatible with "bytes"
"Dict[str, Any]" is incompatible with "bytearray" (reportArgumentType)
|
Run jakebailey/pyright-action@v1:
hibiapi/api/pixiv/api.py#L563
Argument of type "int" cannot be assigned to parameter "__value" of type "str" in function "__setitem__"
"int" is incompatible with "str" (reportArgumentType)
|
Run jakebailey/pyright-action@v1:
hibiapi/utils/config.py#L27
Method "get" overrides class "ConfigView" in an incompatible manner
No overload signature in override is compatible with base method (reportIncompatibleMethodOverride)
|
Run jakebailey/pyright-action@v1:
hibiapi/utils/config.py#L27
Expression of type "Any" cannot be assigned to parameter of type "type[_T@get]" (reportArgumentType)
|
Run jakebailey/pyright-action@v1:
hibiapi/utils/config.py#L33
Method "as_str_seq" overrides class "ConfigView" in an incompatible manner
Parameter 2 type mismatch: base parameter is type "bool", override parameter is type "str"
"bool" is incompatible with "str" (reportIncompatibleMethodOverride)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pdm-project/setup-pdm@v3, suo/flake8-github-action@v1, jakebailey/pyright-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: suo/flake8-github-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Loading