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
Incorrect type hint in the aliases decorator signature #243
mypy: Argument 1 to "aliases" has incompatible type "str"; expected "list[str]" [arg-type]
pyright:
Argument of type "Literal['ls']" cannot be assigned to parameter "names" of type "List[str]" in function "aliases"
Literal['ls']" is not assignable to "List[str]" (reportArgumentType)
I’ve reviewed the problem description and the type-checker errors mentioned (mypy / pyright). I believe this is a clear and well-scoped issue, and I’d like to work on fixing the incorrect type hint in the aliases decorator signature.
I’ll start by reproducing the issue locally and propose a fix that aligns with the expected typing behavior. Please let me know if there’s any preferred approach or additional context I should be aware of before submitting a PR.
Activity
Prajithaa1Parani commentedon Jan 5, 2026
Hi! Thanks for reporting this issue.
I’ve reviewed the problem description and the type-checker errors mentioned (mypy / pyright). I believe this is a clear and well-scoped issue, and I’d like to work on fixing the incorrect type hint in the aliases decorator signature.
I’ll start by reproducing the issue locally and propose a fix that aligns with the expected typing behavior. Please let me know if there’s any preferred approach or additional context I should be aware of before submitting a PR.