Commit 0e734c7
committed
config: add a couple of explicit
pyright (somewhat annoyingly IMO) infers unannotated function types,
unlike mypy which treats them as `Any`. In these 2 cases it causes some
follow on type errors, so add explicit `Any`s to prevent pyright from
inferring some big union.Anys1 parent 69c47ce commit 0e734c7
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1582 | 1582 | | |
1583 | 1583 | | |
1584 | 1584 | | |
1585 | | - | |
| 1585 | + | |
1586 | 1586 | | |
1587 | 1587 | | |
1588 | 1588 | | |
| |||
1726 | 1726 | | |
1727 | 1727 | | |
1728 | 1728 | | |
1729 | | - | |
| 1729 | + | |
1730 | 1730 | | |
1731 | 1731 | | |
1732 | 1732 | | |
| |||
0 commit comments