Fix #1566 - Add g:ale_python_flake8_change_directory

This commit is contained in:
w0rp
2018-05-28 16:34:54 +01:00
parent d9717147bf
commit 8a659b7cc6
3 changed files with 28 additions and 7 deletions

View File

@@ -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|