Commit ec567c9
committed
types(test_builder) Fix typing issues
tests/workspace/test_builder.py:721: error: Argument "start" to "enumerate" has incompatible type "Union[str, int, None]"; expected "int" [arg-type]
tests/workspace/test_builder.py:722: error: Argument 1 to "int" has incompatible type "Optional[str]"; expected "Union[str, Buffer, SupportsInt, SupportsIndex, SupportsTrunc]" [arg-type]
tests/workspace/test_builder.py:726: error: Unsupported operand types for - ("int" and "str") [operator]
tests/workspace/test_builder.py:726: error: Unsupported operand types for - ("int" and "None") [operator]
tests/workspace/test_builder.py:726: note: Right operand is of type "Union[str, int, None]1 parent a7d2093 commit ec567c9
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
718 | 718 | | |
719 | 719 | | |
720 | 720 | | |
| 721 | + | |
| 722 | + | |
721 | 723 | | |
| 724 | + | |
722 | 725 | | |
723 | 726 | | |
724 | 727 | | |
| |||
0 commit comments