diff options
author | Nikolay Zakirov <nickzakirov@gmail.com> | 2021-07-13 17:58:18 +0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-13 21:58:18 +0900 |
commit | 82a7e9f5889c13021ff61f8dc80b57348318c449 (patch) | |
tree | 264394ff3610f533e72baca9726eff7244ba81a4 /doc | |
parent | d098124e59ba38b0fcd97b41eec4a6de81bc09ab (diff) | |
download | ale-82a7e9f5889c13021ff61f8dc80b57348318c449.zip |
add autoflake fixer (#3779)
* first attempt
* added autoflake executable
* added Windows executable for appveyor
* delete unused files
* corrected wrong sorting
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-python.txt | 28 | ||||
-rw-r--r-- | doc/ale-supported-languages-and-tools.txt | 1 | ||||
-rw-r--r-- | doc/ale.txt | 1 |
3 files changed, 30 insertions, 0 deletions
diff --git a/doc/ale-python.txt b/doc/ale-python.txt index 58b92dc9..6deff8f2 100644 --- a/doc/ale-python.txt +++ b/doc/ale-python.txt @@ -44,6 +44,33 @@ The first directory containing any of the files named above will be used. =============================================================================== +autoflake *ale-python-autoflake* + +g:ale_python_autoflake_executable *g:ale_python_autoflake_executable* + *b:ale_python_autoflake_executable* + Type: |String| + Default: `'autoflake'` + + See |ale-integrations-local-executables| + + +g:ale_python_autoflake_options *g:ale_python_autoflake_options* + *b:ale_python_autoflake_options* + Type: |String| + Default: `''` + + This variable can be set to pass extra options to autoflake. + + +g:ale_python_autoflake_use_global *g:ale_python_autoflake_use_global* + *b:ale_python_autoflake_use_global* + Type: |Number| + Default: `get(g:, 'ale_use_global_executables', 0)` + + See |ale-integrations-local-executables| + + +=============================================================================== autoimport *ale-python-autoimport* g:ale_python_autoimport_executable *g:ale_python_autoimport_executable* @@ -69,6 +96,7 @@ g:ale_python_autoimport_use_global *g:ale_python_autoimport_use_glob See |ale-integrations-local-executables| + =============================================================================== autopep8 *ale-python-autopep8* diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt index 283caf06..d71d9354 100644 --- a/doc/ale-supported-languages-and-tools.txt +++ b/doc/ale-supported-languages-and-tools.txt @@ -399,6 +399,7 @@ Notes: * `purescript-language-server` * `purty` * Python + * `autoflake`!! * `autoimport` * `autopep8` * `bandit` diff --git a/doc/ale.txt b/doc/ale.txt index f2800ff0..1ec22c18 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -2933,6 +2933,7 @@ documented in additional help files. pyrex (cython)..........................|ale-pyrex-options| cython................................|ale-pyrex-cython| python..................................|ale-python-options| + autoflake.............................|ale-python-autoflake| autoimport............................|ale-python-autoimport| autopep8..............................|ale-python-autopep8| bandit................................|ale-python-bandit| |