Document the mypy options, and fix spacing issues, largely in the documentation

This commit is contained in:
w0rp 2017-01-15 13:20:23 +00:00
parent 35bdd6f478
commit 41686980fd
3 changed files with 67 additions and 61 deletions

View file

@ -1,12 +1,12 @@
" Author: Keith Smiley <k@keith.so>
" Description: mypy support for optional python typechecking
let g:ale_python_mypy_args = get(g:, 'ale_python_mypy_args', '')
let g:ale_python_mypy_args = get(g:, 'ale_python_mypy_options', '')
function! g:ale_linters#python#mypy#GetCommand(buffer) abort
return g:ale#util#stdin_wrapper
\ . ' .py mypy --show-column-numbers '
\ . g:ale_python_mypy_args
\ . ' .py mypy --show-column-numbers '
\ . g:ale_python_mypy_options
endfunction
call g:ale#linter#Define('python', {