Use ruff for import sorting

This commit is contained in:
Kovid Goyal 2023-01-15 11:07:10 +05:30
parent 865fc24975
commit d55a9b582b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -6,6 +6,10 @@ else
let g:ale_linters = {'python': ['mypy', 'ruff --no-update-check']}
endif
let g:ale_python_mypy_executable = './mypy-editor-integration'
let g:ale_fixers = {
\ "python": ["ruff"],
\}
autocmd FileType python noremap \i :ALEFix<CR>
set wildignore+==template.py
set wildignore+=tags
set expandtab