Skip to content

Commit 03e27c9

Browse files
committed
🐴 work around mypy's greedy type-inference
1 parent 6b58255 commit 03e27c9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tool/stubtest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
SITE_DIR = Path(sysconfig.get_paths()["purelib"])
3333

3434
ROOT_DIR = TOOL_DIR.parent
35+
__root_site: Path | None
3536
if (ROOT_DIR / ".venv").is_dir():
3637
__root_venv = ROOT_DIR / ".venv"
3738
__root_site = (

0 commit comments

Comments
 (0)