Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Update possible mypy return codes, update documentation #2317

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
2. [Installation](#installation)
2.1. [Requirements](#requirements)
2.2. [Installing syntastic with Pathogen](#installpathogen)
2.3. [Installing syntastic with vim packages](#installvim)
3. [Recommended settings](#settings)
4. [FAQ](#faq)
4.1. [I installed syntastic but it isn't reporting any errors...](#faqinfo)
Expand Down Expand Up @@ -171,6 +172,21 @@ following:
3. Did the `git clone` of syntastic inside `~/.vim/bundle`
4. Have permissions to access all of these directories.

<a name="installvim"></a>

### 2.3\. Installing syntatic with vim packages

```
git clone https://github.com/vim-syntastic/syntastic.git ~/.vim/pack/plugins/start/syntastic.vim
```

After installing, launch vim and run
```
:helptags ~/.vim/pack/plugins/start/syntastic.vim/doc/
```
to generate the manual (`:help syntastic`)


<a name="settings"></a>

## 3\. Recommended settings
Expand Down
2 changes: 1 addition & 1 deletion syntax_checkers/python/mypy.vim
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function! SyntaxCheckers_python_mypy_GetLocList() dict
return SyntasticMake({
\ 'makeprg': makeprg,
\ 'errorformat': errorformat,
\ 'returns': [0, 1],
\ 'returns': [0, 1, 2],
\ 'preprocess': 'mypy' })
endfunction

Expand Down