Skip to content

更新变量提取逻辑和规则 #549

更新变量提取逻辑和规则

更新变量提取逻辑和规则 #549

Triggered via pull request August 31, 2024 06:25
Status Failure
Total duration 1m 48s
Artifacts

ci.yml

on: pull_request
Matrix: lint
check the needed jobs status
7s
check the needed jobs status
check version
0s
check version
Fit to window
Zoom out
Zoom in

Annotations

46 errors and 5 warnings
lint 3.8: httpfpt/common/send_request.py#L173
Argument of type "Literal['sql']" cannot be assigned to parameter "__key" of type "SupportsIndex | slice" in function "__getitem__"   Type "Literal['sql']" cannot be assigned to type "SupportsIndex | slice"     "Literal['sql']" is incompatible with protocol "SupportsIndex"       "__index__" is not present     "Literal['sql']" is incompatible with "slice" (reportArgumentType)
lint 3.8: httpfpt/common/send_request.py#L174
Cannot access member "get" for type "str"   Member "get" is unknown (reportAttributeAccessIssue)
lint 3.8: httpfpt/common/send_request.py#L228
Argument expression after ** must be a mapping with a "str" key type (reportCallIssue)
lint 3.8: httpfpt/common/send_request.py#L230
Argument expression after ** must be a mapping with a "str" key type (reportCallIssue)
lint 3.8: httpfpt/common/send_request.py#L275
Argument of type "Literal['sql']" cannot be assigned to parameter "__key" of type "SupportsIndex | slice" in function "__getitem__"   Type "Literal['sql']" cannot be assigned to type "SupportsIndex | slice"     "Literal['sql']" is incompatible with protocol "SupportsIndex"       "__index__" is not present     "Literal['sql']" is incompatible with "slice" (reportArgumentType)
lint 3.8: httpfpt/common/send_request.py#L276
Cannot access member "get" for type "str"   Member "get" is unknown (reportAttributeAccessIssue)
lint 3.8: httpfpt/common/send_request.py#L283
Argument of type "Literal['assert_text']" cannot be assigned to parameter "__key" of type "SupportsIndex | slice" in function "__getitem__"   Type "Literal['assert_text']" cannot be assigned to type "SupportsIndex | slice"     "Literal['assert_text']" is incompatible with protocol "SupportsIndex"       "__index__" is not present     "Literal['assert_text']" is incompatible with "slice" (reportArgumentType)
lint 3.8: httpfpt/utils/request/request_data_parse.py#L326
Argument of type "str | dict[Unknown, Unknown]" cannot be assigned to parameter "code" of type "str" in function "exec_any_code"   Type "str | dict[Unknown, Unknown]" cannot be assigned to type "str"     "dict[Unknown, Unknown]" is incompatible with "str" (reportArgumentType)
lint 3.8
8 errors
lint 3.11: httpfpt/common/send_request.py#L173
Argument of type "Literal['sql']" cannot be assigned to parameter "__key" of type "SupportsIndex | slice" in function "__getitem__"   Type "Literal['sql']" cannot be assigned to type "SupportsIndex | slice"     "Literal['sql']" is incompatible with protocol "SupportsIndex"       "__index__" is not present     "Literal['sql']" is incompatible with "slice" (reportArgumentType)
lint 3.11: httpfpt/common/send_request.py#L174
Cannot access member "get" for type "str"   Member "get" is unknown (reportAttributeAccessIssue)
lint 3.11: httpfpt/common/send_request.py#L228
Argument expression after ** must be a mapping with a "str" key type (reportCallIssue)
lint 3.11: httpfpt/common/send_request.py#L230
Argument expression after ** must be a mapping with a "str" key type (reportCallIssue)
lint 3.11: httpfpt/common/send_request.py#L275
Argument of type "Literal['sql']" cannot be assigned to parameter "__key" of type "SupportsIndex | slice" in function "__getitem__"   Type "Literal['sql']" cannot be assigned to type "SupportsIndex | slice"     "Literal['sql']" is incompatible with protocol "SupportsIndex"       "__index__" is not present     "Literal['sql']" is incompatible with "slice" (reportArgumentType)
lint 3.11: httpfpt/common/send_request.py#L276
Cannot access member "get" for type "str"   Member "get" is unknown (reportAttributeAccessIssue)
lint 3.11: httpfpt/common/send_request.py#L283
Argument of type "Literal['assert_text']" cannot be assigned to parameter "__key" of type "SupportsIndex | slice" in function "__getitem__"   Type "Literal['assert_text']" cannot be assigned to type "SupportsIndex | slice"     "Literal['assert_text']" is incompatible with protocol "SupportsIndex"       "__index__" is not present     "Literal['assert_text']" is incompatible with "slice" (reportArgumentType)
lint 3.11: httpfpt/utils/request/request_data_parse.py#L326
Argument of type "str | dict[Unknown, Unknown]" cannot be assigned to parameter "code" of type "str" in function "exec_any_code"   Type "str | dict[Unknown, Unknown]" cannot be assigned to type "str"     "dict[Unknown, Unknown]" is incompatible with "str" (reportArgumentType)
lint 3.11
8 errors
lint 3.9: httpfpt/common/send_request.py#L173
Argument of type "Literal['sql']" cannot be assigned to parameter "__key" of type "SupportsIndex | slice" in function "__getitem__"   Type "Literal['sql']" cannot be assigned to type "SupportsIndex | slice"     "Literal['sql']" is incompatible with protocol "SupportsIndex"       "__index__" is not present     "Literal['sql']" is incompatible with "slice" (reportArgumentType)
lint 3.9: httpfpt/common/send_request.py#L174
Cannot access member "get" for type "str"   Member "get" is unknown (reportAttributeAccessIssue)
lint 3.9: httpfpt/common/send_request.py#L228
Argument expression after ** must be a mapping with a "str" key type (reportCallIssue)
lint 3.9: httpfpt/common/send_request.py#L230
Argument expression after ** must be a mapping with a "str" key type (reportCallIssue)
lint 3.9: httpfpt/common/send_request.py#L275
Argument of type "Literal['sql']" cannot be assigned to parameter "__key" of type "SupportsIndex | slice" in function "__getitem__"   Type "Literal['sql']" cannot be assigned to type "SupportsIndex | slice"     "Literal['sql']" is incompatible with protocol "SupportsIndex"       "__index__" is not present     "Literal['sql']" is incompatible with "slice" (reportArgumentType)
lint 3.9: httpfpt/common/send_request.py#L276
Cannot access member "get" for type "str"   Member "get" is unknown (reportAttributeAccessIssue)
lint 3.9: httpfpt/common/send_request.py#L283
Argument of type "Literal['assert_text']" cannot be assigned to parameter "__key" of type "SupportsIndex | slice" in function "__getitem__"   Type "Literal['assert_text']" cannot be assigned to type "SupportsIndex | slice"     "Literal['assert_text']" is incompatible with protocol "SupportsIndex"       "__index__" is not present     "Literal['assert_text']" is incompatible with "slice" (reportArgumentType)
lint 3.9: httpfpt/utils/request/request_data_parse.py#L326
Argument of type "str | dict[Unknown, Unknown]" cannot be assigned to parameter "code" of type "str" in function "exec_any_code"   Type "str | dict[Unknown, Unknown]" cannot be assigned to type "str"     "dict[Unknown, Unknown]" is incompatible with "str" (reportArgumentType)
lint 3.9
8 errors
lint 3.10: httpfpt/common/send_request.py#L173
Argument of type "Literal['sql']" cannot be assigned to parameter "__key" of type "SupportsIndex | slice" in function "__getitem__"   Type "Literal['sql']" cannot be assigned to type "SupportsIndex | slice"     "Literal['sql']" is incompatible with protocol "SupportsIndex"       "__index__" is not present     "Literal['sql']" is incompatible with "slice" (reportArgumentType)
lint 3.10: httpfpt/common/send_request.py#L174
Cannot access member "get" for type "str"   Member "get" is unknown (reportAttributeAccessIssue)
lint 3.10: httpfpt/common/send_request.py#L228
Argument expression after ** must be a mapping with a "str" key type (reportCallIssue)
lint 3.10: httpfpt/common/send_request.py#L230
Argument expression after ** must be a mapping with a "str" key type (reportCallIssue)
lint 3.10: httpfpt/common/send_request.py#L275
Argument of type "Literal['sql']" cannot be assigned to parameter "__key" of type "SupportsIndex | slice" in function "__getitem__"   Type "Literal['sql']" cannot be assigned to type "SupportsIndex | slice"     "Literal['sql']" is incompatible with protocol "SupportsIndex"       "__index__" is not present     "Literal['sql']" is incompatible with "slice" (reportArgumentType)
lint 3.10: httpfpt/common/send_request.py#L276
Cannot access member "get" for type "str"   Member "get" is unknown (reportAttributeAccessIssue)
lint 3.10: httpfpt/common/send_request.py#L283
Argument of type "Literal['assert_text']" cannot be assigned to parameter "__key" of type "SupportsIndex | slice" in function "__getitem__"   Type "Literal['assert_text']" cannot be assigned to type "SupportsIndex | slice"     "Literal['assert_text']" is incompatible with protocol "SupportsIndex"       "__index__" is not present     "Literal['assert_text']" is incompatible with "slice" (reportArgumentType)
lint 3.10: httpfpt/utils/request/request_data_parse.py#L326
Argument of type "str | dict[Unknown, Unknown]" cannot be assigned to parameter "code" of type "str" in function "exec_any_code"   Type "str | dict[Unknown, Unknown]" cannot be assigned to type "str"     "dict[Unknown, Unknown]" is incompatible with "str" (reportArgumentType)
lint 3.10
8 errors
lint 3.12: httpfpt/common/send_request.py#L173
Argument of type "Literal['sql']" cannot be assigned to parameter "__key" of type "SupportsIndex | slice" in function "__getitem__"   Type "Literal['sql']" cannot be assigned to type "SupportsIndex | slice"     "Literal['sql']" is incompatible with protocol "SupportsIndex"       "__index__" is not present     "Literal['sql']" is incompatible with "slice" (reportArgumentType)
lint 3.12: httpfpt/common/send_request.py#L174
Cannot access member "get" for type "str"   Member "get" is unknown (reportAttributeAccessIssue)
lint 3.12: httpfpt/common/send_request.py#L228
Argument expression after ** must be a mapping with a "str" key type (reportCallIssue)
lint 3.12: httpfpt/common/send_request.py#L230
Argument expression after ** must be a mapping with a "str" key type (reportCallIssue)
lint 3.12: httpfpt/common/send_request.py#L275
Argument of type "Literal['sql']" cannot be assigned to parameter "__key" of type "SupportsIndex | slice" in function "__getitem__"   Type "Literal['sql']" cannot be assigned to type "SupportsIndex | slice"     "Literal['sql']" is incompatible with protocol "SupportsIndex"       "__index__" is not present     "Literal['sql']" is incompatible with "slice" (reportArgumentType)
lint 3.12: httpfpt/common/send_request.py#L276
Cannot access member "get" for type "str"   Member "get" is unknown (reportAttributeAccessIssue)
lint 3.12: httpfpt/common/send_request.py#L283
Argument of type "Literal['assert_text']" cannot be assigned to parameter "__key" of type "SupportsIndex | slice" in function "__getitem__"   Type "Literal['assert_text']" cannot be assigned to type "SupportsIndex | slice"     "Literal['assert_text']" is incompatible with protocol "SupportsIndex"       "__index__" is not present     "Literal['assert_text']" is incompatible with "slice" (reportArgumentType)
lint 3.12: httpfpt/utils/request/request_data_parse.py#L326
Argument of type "str | dict[Unknown, Unknown]" cannot be assigned to parameter "code" of type "str" in function "exec_any_code"   Type "str | dict[Unknown, Unknown]" cannot be assigned to type "str"     "dict[Unknown, Unknown]" is incompatible with "str" (reportArgumentType)
lint 3.12
8 errors
check the needed jobs status
Process completed with exit code 1.
lint 3.8
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint 3.11
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint 3.9
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint 3.10
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint 3.12
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/