Skip to content

remove precommit

remove precommit #108

Triggered via pull request January 11, 2025 22:38
Status Failure
Total duration 29s
Artifacts

ci.yml

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

Annotations

10 errors and 1 warning
Static Analysis: tests/conftest.py#L1
Import "pytest" could not be resolved (reportMissingImports)
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"   Type "Any | None" is not assignable to type "str | bytes | bytearray"     Type "None" is not assignable to type "str | bytes | bytearray"       "None" is not assignable to "str"       "None" is not assignable to "bytes"       "None" is not assignable to "bytearray" (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"   Type "Any | None" is not assignable to type "str | bytes | bytearray"     Type "None" is not assignable to type "str | bytes | bytearray"       "None" is not assignable to "str"       "None" is not assignable to "bytes"       "None" is not assignable to "bytearray" (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"   Type "Any | None" is not assignable to type "str | bytes | bytearray"     Type "None" is not assignable to type "str | bytes | bytearray"       "None" is not assignable to "str"       "None" is not assignable to "bytes"       "None" is not assignable to "bytearray" (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"   Type "Any | None" is not assignable to type "str | bytes | bytearray"     Type "None" is not assignable to type "str | bytes | bytearray"       "None" is not assignable to "str"       "None" is not assignable to "bytes"       "None" is not assignable to "bytearray" (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"   Type "Any | None" is not assignable to type "str | bytes | bytearray"     Type "None" is not assignable to type "str | bytes | bytearray"       "None" is not assignable to "str"       "None" is not assignable to "bytes"       "None" is not assignable to "bytearray" (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"   Type "Any | None" is not assignable to type "str | bytes | bytearray"     Type "None" is not assignable to type "str | bytes | bytearray"       "None" is not assignable to "str"       "None" is not assignable to "bytes"       "None" is not assignable to "bytearray" (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 not assignable to "Flight" (reportArgumentType)
Static Analysis
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636