You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add type annotations for the arguments of the CLI entry point #1477
In the CLI entry point (cli.py), all properties inside args are unknown to the IDE, which makes it harder for new developers to read and understand the code.
This is especially problematic when trying to quickly identify which function args.func actually refers to.
Possible Solution
I suggest adding type hints to clarify which attributes correspond to which functions. Since this change only involves adding type annotations, it will not affect the end-user's runtime behavior. In theory, such a change is safe.
Activity
gbaian10 commentedon May 31, 2025
Resolved by PR #1479