summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-05-28 16:34:54 +0100
committerw0rp <devw0rp@gmail.com>2018-05-28 16:34:54 +0100
commit8a659b7cc6ca1c9e7fc7c0d14541d1e12563b83b (patch)
tree04d5167647f849c98354d2500c2e304653673722 /doc
parentd9717147bf735a37adc20f1e8a068806f9ba56be (diff)
downloadale-8a659b7cc6ca1c9e7fc7c0d14541d1e12563b83b.zip
Fix #1566 - Add g:ale_python_flake8_change_directory
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 e1614262..67330079 100644
--- a/doc/ale-python.txt
+++ b/doc/ale-python.txt
@@ -59,6 +59,17 @@ g:ale_python_black_use_global *g:ale_python_black_use_global*
===============================================================================
flake8 *ale-python-flake8*
+g:ale_python_flake8_change_directory *g:ale_python_flake8_change_directory*
+ *b:ale_python_flake8_change_directory*
+ Type: |Number|
+ Default: `1`
+
+ If set to `1`, ALE will switch to the directory the Python file being
+ checked with `flake8` is in before checking it. This helps `flake8` 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_flake8_executable *g:ale_python_flake8_executable*
*b:ale_python_flake8_executable*
Type: |String|