Use ruff for import sorting
This commit is contained in:
parent
865fc24975
commit
d55a9b582b
@ -6,6 +6,10 @@ else
|
|||||||
let g:ale_linters = {'python': ['mypy', 'ruff --no-update-check']}
|
let g:ale_linters = {'python': ['mypy', 'ruff --no-update-check']}
|
||||||
endif
|
endif
|
||||||
let g:ale_python_mypy_executable = './mypy-editor-integration'
|
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+==template.py
|
||||||
set wildignore+=tags
|
set wildignore+=tags
|
||||||
set expandtab
|
set expandtab
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user