vim mypy
1.0.0
VIM Plugin para executar o verificador estático opcional do Python mypy
def example ( n : int ) -> str :
print ( type ( n ))
return 'hello'
example ( "a" ) # << incorrect, we've passed a String and not an Integer Para acionar o plug -in, execute :Mypy ou o mapeamento <Leader>mp
git clone https://github.com/integralist/vim-mypy ~ /.vim/bundle/vim-mypy Plugin 'integralist/vim-mypy'
Parece que o Syntatic e o Neomake incluem suporte para MyPy.