From c2cfe2326d6cfadf599391ec9d9bc1e8c813fa76 Mon Sep 17 00:00:00 2001 From: actionless Date: Thu, 26 Jul 2018 14:41:13 +0200 Subject: doc: mark `vulture` as file linter --- README.md | 2 +- doc/ale.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a7ba2794..bc7b1ee6 100644 --- a/README.md +++ b/README.md @@ -159,7 +159,7 @@ formatting. | proto | [protoc-gen-lint](https://github.com/ckaznocha/protoc-gen-lint) | | Pug | [pug-lint](https://github.com/pugjs/pug-lint) | | Puppet | [languageserver](https://github.com/lingua-pupuli/puppet-editor-services), [puppet](https://puppet.com), [puppet-lint](https://puppet-lint.com) | -| Python | [autopep8](https://github.com/hhatto/autopep8), [black](https://github.com/ambv/black), [flake8](http://flake8.pycqa.org/en/latest/), [isort](https://github.com/timothycrosley/isort), [mypy](http://mypy-lang.org/), [prospector](http://github.com/landscapeio/prospector), [pycodestyle](https://github.com/PyCQA/pycodestyle), [pyls](https://github.com/palantir/python-language-server), [pyre](https://github.com/facebook/pyre-check), [pylint](https://www.pylint.org/) !!, [vulture](https://github.com/jendrikseipp/vulture), [yapf](https://github.com/google/yapf) | +| Python | [autopep8](https://github.com/hhatto/autopep8), [black](https://github.com/ambv/black), [flake8](http://flake8.pycqa.org/en/latest/), [isort](https://github.com/timothycrosley/isort), [mypy](http://mypy-lang.org/), [prospector](http://github.com/landscapeio/prospector), [pycodestyle](https://github.com/PyCQA/pycodestyle), [pyls](https://github.com/palantir/python-language-server), [pyre](https://github.com/facebook/pyre-check), [pylint](https://www.pylint.org/) !!, [vulture](https://github.com/jendrikseipp/vulture) !!, [yapf](https://github.com/google/yapf) | | QML | [qmlfmt](https://github.com/jesperhh/qmlfmt), [qmllint](https://github.com/qt/qtdeclarative/tree/5.11/tools/qmllint) | | R | [lintr](https://github.com/jimhester/lintr) | | ReasonML | [merlin](https://github.com/the-lambda-church/merlin) see `:help ale-reasonml-ols` for configuration instructions, [ols](https://github.com/freebroccolo/ocaml-language-server), [refmt](https://github.com/reasonml/reason-cli) | diff --git a/doc/ale.txt b/doc/ale.txt index 24f57424..15a20469 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -400,7 +400,7 @@ Notes: * proto: `protoc-gen-lint` * Pug: `pug-lint` * Puppet: `languageserver`, `puppet`, `puppet-lint` -* Python: `autopep8`, `black`, `flake8`, `isort`, `mypy`, `prospector`, `pycodestyle`, `pyls`, `pyre`, `pylint`!!, `vulture`, `yapf` +* Python: `autopep8`, `black`, `flake8`, `isort`, `mypy`, `prospector`, `pycodestyle`, `pyls`, `pyre`, `pylint`!!, `vulture`!!, `yapf` * QML: `qmlfmt`, `qmllint` * R: `lintr` * ReasonML: `merlin`, `ols`, `refmt` -- cgit v1.2.3 From eb38c4b3f1de08ce58c0fb95676cb3088d48b88c Mon Sep 17 00:00:00 2001 From: actionless Date: Thu, 26 Jul 2018 14:45:28 +0200 Subject: fix(linters: python): mark as lint_file --- ale_linters/python/vulture.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/ale_linters/python/vulture.vim b/ale_linters/python/vulture.vim index bff7d623..80828013 100644 --- a/ale_linters/python/vulture.vim +++ b/ale_linters/python/vulture.vim @@ -81,4 +81,5 @@ call ale#linter#Define('python', { \ 'executable_callback': 'ale_linters#python#vulture#GetExecutable', \ 'command_callback': 'ale_linters#python#vulture#GetCommand', \ 'callback': 'ale_linters#python#vulture#Handle', +\ 'lint_file': 1, \}) -- cgit v1.2.3