diff options
author | Yining <zhang.yining@gmail.com> | 2023-01-27 12:24:18 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-27 10:24:18 +0900 |
commit | b6f6d84c25169744f43db6d0ee296ee44eb78d91 (patch) | |
tree | 7df3bc78af81f76a7ed2813f90ccae96a8d0e16b /autoload/ale/fix/registry.vim | |
parent | 26c79014f52b0306ec619666bc73766f22621edb (diff) | |
download | ale-b6f6d84c25169744f43db6d0ee296ee44eb78d91.zip |
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
Diffstat (limited to 'autoload/ale/fix/registry.vim')
-rw-r--r-- | autoload/ale/fix/registry.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/autoload/ale/fix/registry.vim b/autoload/ale/fix/registry.vim index 28e33926..6657fc3c 100644 --- a/autoload/ale/fix/registry.vim +++ b/autoload/ale/fix/registry.vim @@ -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', \ } \} |