#659 - Add options for Python fixers, and cut down on duplicated documentation
This commit is contained in:
@@ -17,6 +17,33 @@ g:ale_virtualenv_dir_names *g:ale_virtualenv_dir_names*
|
||||
the directory containing the Python file to find virtualenv paths.
|
||||
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
autopep8 *ale-python-autopep8*
|
||||
|
||||
g:ale_python_autopep8_executable *g:ale_python_autopep8_executable*
|
||||
*b:ale_python_autopep8_executable*
|
||||
Type: |String|
|
||||
Default: `'autopep8'`
|
||||
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
g:ale_python_autopep8_options *g:ale_python_autopep8_options*
|
||||
*b:ale_python_autopep8_options*
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
This variable can be set to pass extra options to autopep8.
|
||||
|
||||
|
||||
g:ale_python_autopep8_use_global *g:ale_python_autopep8_use_global*
|
||||
*b:ale_python_autopep8_use_global*
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
flake8 *ale-python-flake8*
|
||||
|
||||
@@ -58,6 +85,25 @@ g:ale_python_flake8_use_global *g:ale_python_flake8_use_global*
|
||||
Both variables can be set with `b:` buffer variables instead.
|
||||
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
isort *ale-python-isort*
|
||||
|
||||
g:ale_python_isort_executable *g:ale_python_isort_executable*
|
||||
*b:ale_python_isort_executable*
|
||||
Type: |String|
|
||||
Default: `'isort'`
|
||||
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
g:ale_python_isort_use_global *g:ale_python_isort_use_global*
|
||||
*b:ale_python_isort_use_global*
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
mypy *ale-python-mypy*
|
||||
|
||||
@@ -66,7 +112,7 @@ g:ale_python_mypy_executable *g:ale_python_mypy_executable*
|
||||
Type: |String|
|
||||
Default: `'mypy'`
|
||||
|
||||
This variable can be changed to modify the executable used for mypy.
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
g:ale_python_mypy_options *g:ale_python_mypy_options*
|
||||
@@ -83,11 +129,7 @@ g:ale_python_mypy_use_global *g:ale_python_mypy_use_global*
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
This variable controls whether or not ALE will search for mypy in a
|
||||
virtualenv directory first. If this variable is set to `1`, then ALE will
|
||||
always use |g:ale_python_mypy_executable| for the executable path.
|
||||
|
||||
Both variables can be set with `b:` buffer variables instead.
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
@@ -98,7 +140,7 @@ g:ale_python_pylint_executable *g:ale_python_pylint_executable*
|
||||
Type: |String|
|
||||
Default: `'pylint'`
|
||||
|
||||
This variable can be changed to modify the executable used for pylint.
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
g:ale_python_pylint_options *g:ale_python_pylint_options*
|
||||
@@ -126,11 +168,26 @@ g:ale_python_pylint_use_global *g:ale_python_pylint_use_global*
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
This variable controls whether or not ALE will search for pylint in a
|
||||
virtualenv directory first. If this variable is set to `1`, then ALE will
|
||||
always use |g:ale_python_pylint_executable| for the executable path.
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
Both variables can be set with `b:` buffer variables instead.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
yapf *ale-python-yapf*
|
||||
|
||||
g:ale_python_yapf_executable *g:ale_python_yapf_executable*
|
||||
*b:ale_python_yapf_executable*
|
||||
Type: |String|
|
||||
Default: `'yapf'`
|
||||
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
g:ale_python_yapf_use_global *g:ale_python_yapf_use_global*
|
||||
*b:ale_python_yapf_use_global*
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user