mirror of
https://github.com/dense-analysis/ale.git
synced 2026-11-04 11:22:50 +08:00
add: pycln as a python linter and fixer (#4415)
this commit adds pycln as a Python linter and fixer, together with some tests and documentation. It addresses #4340 pycln repo: https://github.com/hadialqattan/pycln
This commit is contained in:
1 parent
26c79014f5
commit
b6f6d84c25
11 files changed
+521
No files matched your search
@@ -585,6 +585,11 @@ let s:default_registry = {
|
||||
\ 'function': 'ale#fixers#ruff#Fix',
|
||||
\ 'suggested_filetypes': ['python'],
|
||||
\ 'description': 'Fix python files with ruff.',
|
||||
\ },
|
||||
\ 'pycln': {
|
||||
\ 'function': 'ale#fixers#pycln#Fix',
|
||||
\ 'suggested_filetypes': ['python'],
|
||||
\ 'description': 'remove unused python import statements',
|
||||
\ }
|
||||
\}
|
||||
|
||||
|
||||
Reference in new issue
Block a user