diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-08-02 13:01:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-02 13:01:04 +0100 |
commit | 589c8dbd94929a63006c5fee372e022f0f2b8417 (patch) | |
tree | b549e9a7bdc669e6b082b427b52c56827152783f | |
parent | 3aa5e0f9dc615ba8e30ef5a2e978d2c8a7fea17f (diff) | |
parent | 2ac9e454d6de728f8eaa93a3e5eaedae79d25b6d (diff) | |
download | ale-589c8dbd94929a63006c5fee372e022f0f2b8417.zip |
Merge pull request #1776 from tmc/master
python: add lookup path for flake8 config
-rw-r--r-- | autoload/ale/python.vim | 1 | ||||
-rw-r--r-- | doc/ale-python.txt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim index bc1cc980..1f963431 100644 --- a/autoload/ale/python.vim +++ b/autoload/ale/python.vim @@ -24,6 +24,7 @@ function! ale#python#FindProjectRootIni(buffer) abort \|| filereadable(l:path . '/mypy.ini') \|| filereadable(l:path . '/pycodestyle.cfg') \|| filereadable(l:path . '/flake8.cfg') + \|| filereadable(l:path . '/.flake8rc') \|| filereadable(l:path . '/Pipfile') \|| filereadable(l:path . '/Pipfile.lock') return l:path diff --git a/doc/ale-python.txt b/doc/ale-python.txt index 093ea758..b5c469b1 100644 --- a/doc/ale-python.txt +++ b/doc/ale-python.txt @@ -22,6 +22,7 @@ ALE will look for configuration files with the following filenames. > mypy.ini pycodestyle.cfg flake8.cfg + .flake8rc Pipfile Pipfile.lock < |