Commit 9ebef00
committed
Drop type:ignore codes made unused by newer argcomplete
The lint job's mypy hook installs an unpinned argcomplete (>=3.1); recent
releases (3.7+) ship type information, so the `no-untyped-call` codes on the
argcomplete.split_line / argcomplete.debug calls and on
ExtendedCompletionFinder() are now unused, which mypy reports as errors under
warn_unused_ignores. Remove just those codes, keeping the still-needed
`attr-defined` codes and the `no-untyped-call` ignores on the super()
_get_completions/_get_option_completions calls, which remain untyped.
Verified with argcomplete 3.7.1 (as resolved in CI) and mypy 2.3.0.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VaKDJ3fpGf7anQeYeBsJbk1 parent c476234 commit 9ebef00
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1133 | 1133 | | |
1134 | 1134 | | |
1135 | 1135 | | |
1136 | | - | |
| 1136 | + | |
1137 | 1137 | | |
1138 | 1138 | | |
1139 | 1139 | | |
| |||
0 commit comments