diff options
author | Jack Evans <jack@evans.gb.net> | 2018-04-06 10:08:25 +0100 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2018-04-06 11:08:25 +0200 |
commit | c5d3af04fced61a654029a07139faa365c4a8534 (patch) | |
tree | f75aea22a44d8324c17cbf84eba60d234c53edfc /doc | |
parent | 85a2a008266f69847a3c7a9d38c16b779636ab30 (diff) | |
download | ale-c5d3af04fced61a654029a07139faa365c4a8534.zip |
Added support for Python black fixer (#1451)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-python.txt | 27 | ||||
-rw-r--r-- | doc/ale.txt | 3 |
2 files changed, 29 insertions, 1 deletions
diff --git a/doc/ale-python.txt b/doc/ale-python.txt index 4d55e751..dc7c8bba 100644 --- a/doc/ale-python.txt +++ b/doc/ale-python.txt @@ -30,6 +30,33 @@ g:ale_python_autopep8_use_global *g:ale_python_autopep8_use_global* =============================================================================== +black *ale-python-black* + +g:ale_python_black_executable *g:ale_python_black_executable* + *b:ale_python_black_executable* + Type: |String| + Default: `'black'` + + See |ale-integrations-local-executables| + +autopep8 +g:ale_python_black_options *g:ale_python_black_options* + *b:ale_python_black_options* + Type: |String| + Default: `''` + + This variable can be set to pass extra options to black. + + +g:ale_python_black_use_global *g:ale_python_black_use_global* + *b:ale_python_black_use_global* + Type: |Number| + Default: `0` + + See |ale-integrations-local-executables| + + +=============================================================================== flake8 *ale-python-flake8* g:ale_python_flake8_executable *g:ale_python_flake8_executable* diff --git a/doc/ale.txt b/doc/ale.txt index 4ba8e649..2e5c5e47 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -179,6 +179,7 @@ CONTENTS *ale-contents* puppetlint..........................|ale-puppet-puppetlint| python................................|ale-python-options| autopep8............................|ale-python-autopep8| + black...............................|ale-python-black| flake8..............................|ale-python-flake8| isort...............................|ale-python-isort| mypy................................|ale-python-mypy| @@ -369,7 +370,7 @@ Notes: * proto: `protoc-gen-lint` * Pug: `pug-lint` * Puppet: `puppet`, `puppet-lint` -* Python: `autopep8`, `flake8`, `isort`, `mypy`, `prospector`, `pycodestyle`, `pyls`, `pylint`!!, `yapf` +* Python: `autopep8`, `black`, `flake8`, `isort`, `mypy`, `prospector`, `pycodestyle`, `pyls`, `pylint`!!, `yapf` * QML: `qmlfmt`, `qmllint` * R: `lintr` * ReasonML: `merlin`, `ols`, `refmt` |