mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-11 05:53:13 +08:00
Add support for reorder-python-imports fixer
isort is great, but I've come to prefer reorder-python-imports. The tool has a focus on smaller diffs than isort. reorder-python-imports is also a little smarter than isort which is nice.
This commit is contained in:
@@ -672,6 +672,36 @@ g:ale_python_pyre_auto_pipenv *g:ale_python_pyre_auto_pipenv*
|
||||
if true. This is overridden by a manually-set executable.
|
||||
|
||||
|
||||
===============================================================================
|
||||
reorder-python-imports *ale-python-reorder_python_imports*
|
||||
|
||||
g:ale_python_reorder_python_imports_executable
|
||||
*g:ale_python_reorder_python_imports_executable*
|
||||
*b:ale_python_reorder_python_imports_executable*
|
||||
Type: |String|
|
||||
Default: `'reorder-python-imports'`
|
||||
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
g:ale_python_reorder_python_imports_options
|
||||
*g:ale_python_reorder_python_imports_options*
|
||||
*b:ale_python_reorder_python_imports_options*
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
This variable can be set to pass extra options to reorder-python-imports.
|
||||
|
||||
|
||||
g:ale_python_reorder_python_imports_use_global
|
||||
*g:ale_python_reorder_python_imports_use_global*
|
||||
*b:ale_python_reorder_python_imports_use_global*
|
||||
Type: |Number|
|
||||
Default: `get(g:, 'ale_use_global_executables', 0)`
|
||||
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
===============================================================================
|
||||
vulture *ale-python-vulture*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user