remove precommit #109
Annotations
10 errors and 1 warning
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:
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 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
|