La nuova versione 2.7 dovrebbe sostenere, ma pip-installazione fallisce con uno SyntaxError su una linea con Python 3 la sintassi tipo di annotazione (che è un pò ironico):Come installare mypy-lang su python 2.7?
Traceback (most recent call last):
...
from mypy import git
File "mypy/git.py", line 10
def is_git_repo(dir: str) -> bool:
^
SyntaxError: invalid syntax