vimrc: stricter mypy linting
All checks were successful
dotfiles/pipeline/head This commit looks good

This commit is contained in:
Johannes Rothe 2021-12-22 14:29:50 +01:00 committed by Johannes Rothe
parent 1022e41c64
commit 5b39145de8

View File

@ -47,10 +47,10 @@ colorscheme sonokai
let g:airline_theme = 'sonokai'
" Ale
let g:ale_linters = {'python': ['pylint'],}
let g:ale_fixers = {}
let g:ale_fixers.python = ['black']
let g:ale_linters = {'python': ['pylint', 'mypy'],}
let g:ale_fixers = {'python': ['black', 'isort']}
let g:ale_python_pylint_options = '--disable=C0111'
let g:ale_python_mypy_options = '--ignore-missing-imports --disallow-untyped-defs --disallow-incomplete-defs'
" Black
let g:black_linelength = 80