Vim Mypy banner
Integralist Integralist

Vim Mypy

Development community

Description

Vim plugin for executing Python's optional static type checker MyPy (http://mypy-lang.org/)

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

vim-mypy

Vim plugin for executing Python's optional static type checker [MyPy](http://mypy-lang.org/)

Example

def example(n: int) -> str:
    print(type(n))
    return 'hello'

example("a")  # << incorrect, we've passed a String and not an Integer 

To trigger the plugin, execute either `:Mypy` or the mapping `mp`

Install

[Pathogen](https://github.com/tpope/vim-pathogen)

git clone https://github.com/integralist/vim-mypy ~/.vim/bundle/vim-mypy

[Vundle](https://github.com/gmarik/vundle)

Plugin 'integralist/vim-mypy'

Alternatives

It seems both [Syntastic](https://github.com/vim-syntastic/syntastic) and [Neomake](https://github.com/neomake/neomake) include support for MyPy.