mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-10 06:21:53 +08:00
Document the mypy options, and fix spacing issues, largely in the documentation
This commit is contained in:
@@ -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', {
|
||||
|
||||
Reference in New Issue
Block a user