-
-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Problem
Symptoms as of Argh 0.31.3:
- 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)
Solution
- def aliases(*names: List[str]) -> Callable:
+ def aliases(*names: str) -> Callable:Reactions are currently unavailable