summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-04-17 13:30:30 +0100
committerw0rp <devw0rp@gmail.com>2018-04-17 13:30:30 +0100
commitf9ba3d924fc445ceea6ab7a6700b95dd12d268ca (patch)
tree41d169514dc43d61f71e7bdf3052af9789015310 /doc
parentfb720251bf38139c1811665852e1bc2f73d0393f (diff)
downloadale-f9ba3d924fc445ceea6ab7a6700b95dd12d268ca.zip
Fix #1507 - Add an option for disabling switching directories for pylint
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-python.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/ale-python.txt b/doc/ale-python.txt
index 396603e9..e1614262 100644
--- a/doc/ale-python.txt
+++ b/doc/ale-python.txt
@@ -231,6 +231,17 @@ g:ale_python_pycodestyle_use_global *g:ale_python_pycodestyle_use_global*
===============================================================================
pylint *ale-python-pylint*
+g:ale_python_pylint_change_directory *g:ale_python_pylint_change_directory*
+ *b:ale_python_pylint_change_directory*
+ Type: |Number|
+ Default: `1`
+
+ If set to `1`, ALE will switch to the directory the Python file being
+ checked with `pylint` is in before checking it. This helps `pylint` find
+ configuration files more easily. This option can be turned off if you want
+ to control the directory Python is executed from yourself.
+
+
g:ale_python_pylint_executable *g:ale_python_pylint_executable*
*b:ale_python_pylint_executable*
Type: |String|