Modify linters and formatters for Python

This commit is contained in:
mitchell 2021-08-25 19:25:02 -04:00
parent 426bbc3aba
commit d72cc84b31
1 changed files with 2 additions and 2 deletions

4
.vimrc
View File

@ -138,7 +138,7 @@ let g:ale_linters = {
\ 'ruby': ['rubocop'], \ 'ruby': ['rubocop'],
\ 'css': ['stylelint'], \ 'css': ['stylelint'],
\ 'sh': ['shellcheck'], \ 'sh': ['shellcheck'],
\ 'python': ['pyflakes', 'pycodestyle'], \ 'python': ['pylint'],
\ } \ }
@ -156,7 +156,7 @@ let g:ale_fixers = {
\ 'elixir': ['mix_format'], \ 'elixir': ['mix_format'],
\ 'terraform': ['terraform'], \ 'terraform': ['terraform'],
\ 'ruby': ['rubocop'], \ 'ruby': ['rubocop'],
\ 'python': ['yapf'], \ 'python': ['black'],
\ } \ }
let g:ale_fix_on_save = 1 let g:ale_fix_on_save = 1