Merge pull request #2567 from theevocater/add_reorder_python_imports

Add support for reorder-python-imports fixer
This commit is contained in:
w0rp
2019-06-10 19:33:00 +01:00
committed by GitHub
9 changed files with 112 additions and 0 deletions

View File

@@ -310,6 +310,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['sql'],
\ 'description': 'A PostgreSQL SQL syntax beautifier',
\ },
\ 'reorder-python-imports': {
\ 'function': 'ale#fixers#reorder_python_imports#Fix',
\ 'suggested_filetypes': ['python'],
\ 'description': 'Sort Python imports with reorder-python-imports.',
\ },
\}
" Reset the function registry to the default entries.