Commit bf31092
committed
fix(updater): add 'from __future__ import annotations' for py3.9 compat
CI on 3.9 caught a real runtime error: 'str | Path | None' (PEP-604)
isn't valid in 3.9 outside of stringified annotations. Adding the
__future__ import makes all annotations lazy strings, fixing 3.9
without changing the type signatures.1 parent 650a575 commit bf31092
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
0 commit comments