Commit 6c4328e
fix(types): narrow legendgroup set type for mypy
CI mypy 1.x flagged the set comprehension as Set[Any | None] (the
truthy filter wasn't narrowing). Rewrite as an explicit loop that
adds only truthy strings, dropping the now-stale type: ignore.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 939664f commit 6c4328e
1 file changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
123 | 122 | | |
124 | 123 | | |
125 | 124 | | |
| |||
0 commit comments