Commit f58b908
committed
docs(_ext[sab_demo]): Fix mypy dict type-arg on setup()
why: CI runs mypy . (whole workspace) but local ran mypy src tests;
dict return annotation needs generic args to pass strict type-arg check.
what:
- Add import typing as t
- Annotate setup() return type as dict[str, t.Any]1 parent 26342b7 commit f58b908
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
143 | | - | |
| 145 | + | |
144 | 146 | | |
145 | 147 | | |
146 | 148 | | |
| |||
0 commit comments