summaryrefslogtreecommitdiff
path: root/doc/ale-python.txt
diff options
context:
space:
mode:
authorCarlos Coêlho <carlos@vinta.com.br>2017-12-01 14:04:30 -0300
committerw0rp <w0rp@users.noreply.github.com>2017-12-01 17:04:30 +0000
commitdaee4a4722ab2ddd9490a50de2c4c1f590325aa7 (patch)
tree1007c204f4c22958a28c421a9a839cc37018a721 /doc/ale-python.txt
parent948035e13d466d4e9a1a0cd9a1596cc39bde501e (diff)
downloadale-daee4a4722ab2ddd9490a50de2c4c1f590325aa7.zip
Add prospector for checking Python code (#1183)
Diffstat (limited to 'doc/ale-python.txt')
-rw-r--r--doc/ale-python.txt40
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/ale-python.txt b/doc/ale-python.txt
index a78cb5ac..742a8544 100644
--- a/doc/ale-python.txt
+++ b/doc/ale-python.txt
@@ -123,6 +123,46 @@ g:ale_python_mypy_use_global *g:ale_python_mypy_use_global*
===============================================================================
+prospector *ale-python-prospector*
+
+g:ale_python_prospector_executable *g:ale_python_prospector_executable*
+ *b:ale_python_prospector_executable*
+ Type: |String|
+ Default: `'prospector'`
+
+ See |ale-integrations-local-executables|
+
+
+g:ale_python_prospector_options *g:ale_python_prospector_options*
+ *b:ale_python_prospector_options*
+ Type: |String|
+ Default: `''`
+
+ This variable can be changed to add command-line arguments to the prospector
+ invocation.
+
+ For example, to dynamically switch between programs targeting Python 2 and
+ Python 3, you may want to set >
+
+ let g:ale_python_prospector_executable = 'python3'
+ " or 'python' for Python 2
+ let g:ale_python_prospector_options = '--rcfile /path/to/.prospector.yaml'
+ " The virtualenv detection needs to be disabled.
+ let g:ale_python_prospector_use_global = 0
+
+ after making sure it's installed for the appropriate Python versions (e.g.
+ `python3 -m pip install --user prospector`).
+
+
+g:ale_python_prospector_use_global *g:ale_python_prospector_use_global*
+ *b:ale_python_prospector_use_global*
+ Type: |Number|
+ Default: `0`
+
+ See |ale-integrations-local-executables|
+
+
+===============================================================================
pycodestyle *ale-python-pycodestyle*