python: add lookup path for flake8 config
This commit is contained in:
parent
3aa5e0f9dc
commit
2ac9e454d6
@ -24,6 +24,7 @@ function! ale#python#FindProjectRootIni(buffer) abort
|
|||||||
\|| filereadable(l:path . '/mypy.ini')
|
\|| filereadable(l:path . '/mypy.ini')
|
||||||
\|| filereadable(l:path . '/pycodestyle.cfg')
|
\|| filereadable(l:path . '/pycodestyle.cfg')
|
||||||
\|| filereadable(l:path . '/flake8.cfg')
|
\|| filereadable(l:path . '/flake8.cfg')
|
||||||
|
\|| filereadable(l:path . '/.flake8rc')
|
||||||
\|| filereadable(l:path . '/Pipfile')
|
\|| filereadable(l:path . '/Pipfile')
|
||||||
\|| filereadable(l:path . '/Pipfile.lock')
|
\|| filereadable(l:path . '/Pipfile.lock')
|
||||||
return l:path
|
return l:path
|
||||||
|
@ -22,6 +22,7 @@ ALE will look for configuration files with the following filenames. >
|
|||||||
mypy.ini
|
mypy.ini
|
||||||
pycodestyle.cfg
|
pycodestyle.cfg
|
||||||
flake8.cfg
|
flake8.cfg
|
||||||
|
.flake8rc
|
||||||
Pipfile
|
Pipfile
|
||||||
Pipfile.lock
|
Pipfile.lock
|
||||||
<
|
<
|
||||||
|
Loading…
Reference in New Issue
Block a user