vim mypy
1.0.0
Plugin Vim untuk mengeksekusi checker tipe statis opsional Python Mypy
def example ( n : int ) -> str :
print ( type ( n ))
return 'hello'
example ( "a" ) # << incorrect, we've passed a String and not an Integer Untuk memicu plugin, jalankan :Mypy atau pemetaan <Leader>mp
git clone https://github.com/integralist/vim-mypy ~ /.vim/bundle/vim-mypy Plugin 'integralist/vim-mypy'
Tampaknya sintastik dan neomake termasuk dukungan untuk Mypy.