From 86cc2aab7107c2dc75bea568e3d9a91b46b1a295 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Thu, 27 Oct 2016 16:24:32 +1000 Subject: Add pylint formatter This customizes the output format of pylint in order to use the same pep8 parser --- ale_linters/python/pylint.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ale_linters/python/pylint.vim (limited to 'ale_linters/python/pylint.vim') diff --git a/ale_linters/python/pylint.vim b/ale_linters/python/pylint.vim new file mode 100644 index 00000000..9e6093c7 --- /dev/null +++ b/ale_linters/python/pylint.vim @@ -0,0 +1,9 @@ +" Author: keith +" Description: pylint for python files + +call ale#linter#Define('python', { +\ 'name': 'pylint', +\ 'executable': 'pylint', +\ 'command': g:ale#util#stdin_wrapper . ' .py pylint --output-format text --msg-template="{path}:{line}:{column}: {msg_id} {msg}" --reports n', +\ 'callback': 'ale#handlers#HandlePEP8Format', +\}) -- cgit v1.2.3