Closed ringohoffman closed 7 months ago
I have a draft for #113, and these are some unrelated changes I made in preparation:
CLIArgs
argparse.Namespace
pybind11_stubgen/__init__.py
sys.version_info
all_isinstance
TypeGuard
pybind11_stubgen/parser/mixins/fix.py
FixedSize
DynamicSize
Sequence
FixMissingImport.handle_type
map
Thanks!
I have a draft for #113, and these are some unrelated changes I made in preparation:
CLIArgs
argparse.Namespace
dataclass for improved type checking inpybind11_stubgen/__init__.py
sys.version_info
, and doing so interferes with VS Code's reachability highlightingcustomall_isinstance
TypeGuard
inpybind11_stubgen/parser/mixins/fix.py
to resolve a type error in arguments toFixedSize
vsDynamicSize
Sequence
to accept broader typesFixMissingImport.handle_type
?map