refactor
BREAKING
task/type-checking-cleanup
#1 / 1
refactor: remove empty TYPE_CHECKING blocks, promote pathlib imports
- Removed empty 'if TYPE_CHECKING: pass' blocks from 6 files: mist/plugin.py, fetch.py, reflog.py, type_cmd.py, bridge.py, mist.py - Promoted 'import pathlib' out of TYPE_CHECKING in remote.py, annotate.py, blame.py — pathlib is stdlib with no import cost and no circular-import risk; unquoted 'pathlib.Path' string annotations in remote.py that were only needed as string forward refs - All other TYPE_CHECKING guards left in place: circular imports (domain ↔ merge_engine), stub-only packages (_typeshed), and intentionally deferred heavy imports (cryptography, tree_sitter)
sha256:b57d7d1547d12c7be97bc7fec3f02b9dc099a44c7fb809b241a3e6ab15fce676
sha
sha256:ecfbfc202e278f496f209ddf33f991e23ad3ed8e54a3f28decbd91bd9ac0e19d
snapshot
← Older
Oldest on task/type-checking-cleanup
All commits
Newer →
Latest on task/type-checking-cleanup
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:b57d7d1547d12c7be97bc7fec3f02b9dc099a44c7fb809b241a3e6ab15fce676 --body "your comment"
No comments yet. Be the first to start the discussion.