vim mypy
1.0.0
Python의 옵션 정적 유형 체커 Mypy를 실행하기위한 vim 플러그인
def example ( n : int ) -> str :
print ( type ( n ))
return 'hello'
example ( "a" ) # << incorrect, we've passed a String and not an Integer 플러그인을 트리거하려면 :Mypy 또는 Mapping <Leader>mp 중 하나를 실행합니다.
git clone https://github.com/integralist/vim-mypy ~ /.vim/bundle/vim-mypy Plugin 'integralist/vim-mypy'
구문과 네오 메이크는 MyPy에 대한 지원을 포함하는 것 같습니다.