Commit a21cae0
authored
Drop redundant int cast in _new_main (#148)
ty 0.0.43 flags `cast("int", _original_main(argv))` as a
`redundant-cast` warning since the value is already typed `int`, and
`--error-on-warning` makes the `type` job fail. This blocks unrelated
PRs such as #147.
Remove the cast and its now-unused `typing.cast` import.1 parent 943e7ab commit a21cae0
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| |||
135 | 134 | | |
136 | 135 | | |
137 | 136 | | |
138 | | - | |
| 137 | + | |
0 commit comments