-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Description
Error is:
/home/runner/work/cli/cli/nextstrain/cli/command/view.py:390:14 - error: Argument of type "tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes]" cannot be assigned to parameter "sockaddr" of type "Tuple[str, int] | Tuple[str, int, int, int]" in function "__new__"
/home/runner/work/cli/cli/nextstrain/cli/command/view.py:390:14 - error: Argument of type "tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes]" cannot be assigned to parameter "sockaddr" of type "Tuple[str, int] | Tuple[str, int, int, int]" in function "__new__"----------------------------- Captured stdout call -----------------------------
https://nextstrain.org/
/home/runner/work/cli/cli/nextstrain/cli/net.py
/home/runner/work/cli/cli/nextstrain/cli/net.py:36:32 - error: Argument of type "tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes]" cannot be assigned to parameter "sockaddr" of type "tuple[str, int] | tuple[str, int, int, int]" in function "getnameinfo"
Type "tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes]" is not assignable to type "tuple[str, int] | tuple[str, int, int, int]"
Type "tuple[int, bytes]" is not assignable to type "tuple[str, int] | tuple[str, int, int, int]"
"tuple[int, bytes]" is not assignable to "tuple[str, int]"
Tuple entry 1 is incorrect type
"int" is not assignable to "str"
"tuple[int, bytes]" is not assignable to "tuple[str, int, int, int]"
Tuple size mismatch; expected 4 but received 2 (reportArgumentType)
/home/runner/work/cli/cli/nextstrain/cli/command/view.py
/home/runner/work/cli/cli/nextstrain/cli/command/view.py:390:14 - error: Argument of type "tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes]" cannot be assigned to parameter "sockaddr" of type "Tuple[str, int] | Tuple[str, int, int, int]" in function "__new__"
Type "tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes]" is not assignable to type "Tuple[str, int] | Tuple[str, int, int, int]"
Type "tuple[int, bytes]" is not assignable to type "Tuple[str, int] | Tuple[str, int, int, int]"
"tuple[int, bytes]" is not assignable to "Tuple[str, int]"
Tuple entry 1 is incorrect type
"int" is not assignable to "str"
"tuple[int, bytes]" is not assignable to "Tuple[str, int, int, int]"
Tuple size mismatch; expected 4 but received 2 (reportArgumentType)
2 errors, 0 warnings, 0 informations
Example of last good run and first bad run.
Metadata
Metadata
Assignees
Labels
No labels