vim mypy
1.0.0
Vim Plugin para ejecutar el comprobador de tipo estático opcional de 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 activar el complemento, ejecute :Mypy o el mapeo <Leader>mp
git clone https://github.com/integralist/vim-mypy ~ /.vim/bundle/vim-mypy Plugin 'integralist/vim-mypy'
Parece que tanto Syntastic como Neomake incluyen soporte para MYPY.