summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-01-15 13:02:51 +0000
committerGitHub <noreply@github.com>2017-01-15 13:02:51 +0000
commit548ff299f4d68890ec7d00a7d20a78c820b0bb2b (patch)
tree34472c2a428c4673c028d49b59ae291597266039 /doc
parent8762a6fa665b54c8a24bfe0139f4ee8cb2a52b99 (diff)
parentdc8166384c023b5de963cb21730b756f80286c90 (diff)
downloadale-548ff299f4d68890ec7d00a7d20a78c820b0bb2b.zip
Merge pull request #243 from SabatierBoris/master
Add options for pylint linter
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index bda86b63..43e0006e 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -32,6 +32,7 @@ CONTENTS *ale-contents*
4.20. lacheck...............................|ale-linter-options-lacheck|
4.21. stylelint.............................|ale-linter-options-stylelint|
4.22. rustc.................................|ale-linter-options-rustc|
+ 4.23. python-pylint.........................|ale-linter-options-python-pylint|
5. Linter Integration Notes...................|ale-linter-integration|
5.1. merlin................................|ale-linter-integration-ocaml-merlin|
5.2. rust...................................|ale-integration-rust|
@@ -791,6 +792,34 @@ g:ale_rust_ignore_error_codes *g:ale_rust_ignore_error_codes*
>
let g:ale_rust_ignore_error_codes = ['E0432', 'E0433']
+-------------------------------------------------------------------------------
+4.23. python-pylint *ale-linter-options-python-pylint*
+
+g:ale_python_pylint_executable *g:ale_python_pylint_executable*
+
+ Type: |String|
+ Default: `'pylint'`
+
+ This variable can be changed to modify the executable used for pylint.
+
+
+g:ale_python_pylint_args *g:ale_python_pylint_args*
+
+ Type: |String|
+ Default: `''`
+
+ This variable can be changed to add command-line arguments to the pylint
+ invocation.
+
+For example, to dynamically switch between programs targeting Python 2 and
+Python 3, you may want to set >
+
+ let g:ale_python_pylint_executable = 'python3' " or 'python' for Python 2
+ let g:ale_python_pylint_args = '-rcfile /path/to/pylint.rc'
+
+after making sure it's installed for the appropriate Python versions (e.g.
+`python3 -m pip install --user pylint`).
+
===============================================================================
5. Linter Integration Notes *ale-linter-integration*