diff options
author | Travis Cline <travis.cline@gmail.com> | 2018-08-01 20:07:11 -0700 |
---|---|---|
committer | Travis Cline <travis.cline@gmail.com> | 2018-08-01 20:07:11 -0700 |
commit | 2ac9e454d6de728f8eaa93a3e5eaedae79d25b6d (patch) | |
tree | b549e9a7bdc669e6b082b427b52c56827152783f /autoload | |
parent | 3aa5e0f9dc615ba8e30ef5a2e978d2c8a7fea17f (diff) | |
download | ale-2ac9e454d6de728f8eaa93a3e5eaedae79d25b6d.zip |
python: add lookup path for flake8 config
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/python.vim | 1 |
1 files changed, 1 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 |