mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-30 06:35:28 +08:00
Added support for Python black fixer (#1451)
This commit is contained in:
@@ -29,6 +29,33 @@ g:ale_python_autopep8_use_global *g:ale_python_autopep8_use_global*
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
||||
===============================================================================
|
||||
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*
|
||||
|
||||
|
||||
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user