-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Description
I see this package supports python 2.7 so the type hints would have to be the comment variety:
https://web.archive.org/web/20220213164145/https://mypy.readthedocs.io/en/stable/cheat_sheet.html
Essentially:
def add(a, b):
# type: (int, int) -> int
return a + b
instead of:
def add(a: int, b: int) -> int:
return a + b
edit: another option would be some type stub files .pyi
lopuhin and a-detiste
Metadata
Metadata
Assignees
Labels
No labels