Document the mypy options, and fix spacing issues, largely in the documentation
This commit is contained in:
parent
35bdd6f478
commit
41686980fd
3 changed files with 67 additions and 61 deletions
|
@ -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', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue