Skip to content

remove precommit

remove precommit #92

Triggered via pull request July 4, 2024 14:33
Status Failure
Total duration 35s
Artifacts

ci.yml

on: pull_request
Static Analysis
23s
Static Analysis
Build and push image
0s
Build and push image
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Static Analysis: tests/test_flight.py#L33
Argument of type "Any | None" cannot be assigned to parameter "s" of type "str | bytes | bytearray" in function "loads" (reportArgumentType)
Static Analysis: tests/test_flight.py#L66
Argument of type "Any | None" cannot be assigned to parameter "s" of type "str | bytes | bytearray" in function "loads" (reportArgumentType)
Static Analysis: tests/test_flight.py#L80
Argument of type "Any | None" cannot be assigned to parameter "s" of type "str | bytes | bytearray" in function "loads" (reportArgumentType)
Static Analysis: tests/test_flight.py#L115
Argument of type "Any | None" cannot be assigned to parameter "s" of type "str | bytes | bytearray" in function "loads" (reportArgumentType)
Static Analysis: tests/test_flight.py#L137
Argument of type "Any | None" cannot be assigned to parameter "s" of type "str | bytes | bytearray" in function "loads" (reportArgumentType)
Static Analysis: tests/test_flight.py#L173
Argument of type "Any | None" cannot be assigned to parameter "s" of type "str | bytes | bytearray" in function "loads" (reportArgumentType)
Static Analysis: teufa/server.py#L15
"settings" is not a known attribute of "None" (reportOptionalMemberAccess)
Static Analysis: teufa/server.py#L18
"set" is not a known attribute of "None" (reportOptionalMemberAccess)
Static Analysis: teufa/v1_api/flights.py#L26
Argument of type "dict[str, Unknown]" cannot be assigned to parameter "flight" of type "Flight" in function "__init__"   "dict[str, Unknown]" is incompatible with "Flight" (reportArgumentType)
Static Analysis: teufa/v1_api/flights.py#L47
Argument of type "dict[str, Unknown]" cannot be assigned to parameter "flight" of type "Flight" in function "__init__"   "dict[str, Unknown]" is incompatible with "Flight" (reportArgumentType)