Commit f651d52
committed
pytest_plugin(fix): Move pathlib import outside TYPE_CHECKING block
why: Make pathlib available at documentation build time for type hints
what:
- Move pathlib import from TYPE_CHECKING block to regular imports
- Fixes forward reference resolution in sphinx-autodoc-typehints1 parent e2a91de commit f651d52
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | | - | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
0 commit comments