~dricottone/vim-mypy

803a1bbace9c3c1ed7c37b6099a20f15ee945208 — Mark McDonnell 7 years ago 4df7f70
Update README.md
1 files changed, 12 insertions(+), 0 deletions(-)

M README.md
M README.md => README.md +12 -0
@@ 2,6 2,18 @@

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

## Example

```py
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 `<Leader>mp`

## Install

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