Add pyflyby fixer (using its tidy-imports script) (#4219)

* add pyflyby fixer

updates

* pyflyby: add docs

updates

* add tests to pyflyby fixer
This commit is contained in:
infokiller
2022-06-16 16:41:57 +03:00
committed by GitHub
parent f10349b48b
commit 91e8422d6d
9 changed files with 133 additions and 0 deletions

View File

@@ -136,6 +136,11 @@ let s:default_registry = {
\ 'description': 'Apply prettier-eslint to a file.',
\ 'aliases': ['prettier-eslint'],
\ },
\ 'pyflyby': {
\ 'function': 'ale#fixers#pyflyby#Fix',
\ 'suggested_filetypes': ['python'],
\ 'description': 'Tidy Python imports with pyflyby.',
\ },
\ 'importjs': {
\ 'function': 'ale#fixers#importjs#Fix',
\ 'suggested_filetypes': ['javascript'],