From 5fa0ad657ed04c0610ba0f95238a045bc644f380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 30 Aug 2021 23:09:55 +0200 Subject: vim: tweak python development --- vim/ftplugin/python.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'vim/ftplugin') diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim index 81753d3..e50189d 100644 --- a/vim/ftplugin/python.vim +++ b/vim/ftplugin/python.vim @@ -1,5 +1,6 @@ setlocal colorcolumn=120 setlocal textwidth=120 -let b:ale_linters = ['pylsp'] -let b:ale_fixers = ['isort', 'black', 'add_blank_lines_for_python_control_statements', 'remove_trailing_lines', 'trim_whitespace'] +let b:ale_linters = ['pylsp', 'pylint'] +let b:ale_fixers = ['isort', 'black', 'remove_trailing_lines', 'trim_whitespace'] +let g:ale_python_black_options = '-l 120' -- cgit v1.2.3