mirror of https://github.com/dense-analysis/ale
Look for .mypy.ini when finding project root (#4202)
We already check for mypy.ini, but the fallback .mypy.ini was ignored.
This commit is contained in:
parent
044a6c956b
commit
e6ca599e87
|
@ -26,6 +26,7 @@ function! ale#python#FindProjectRootIni(buffer) abort
|
|||
\|| filereadable(l:path . '/tox.ini')
|
||||
\|| filereadable(l:path . '/.pyre_configuration.local')
|
||||
\|| filereadable(l:path . '/mypy.ini')
|
||||
\|| filereadable(l:path . '/.mypy.ini')
|
||||
\|| filereadable(l:path . '/pycodestyle.cfg')
|
||||
\|| filereadable(l:path . '/.flake8')
|
||||
\|| filereadable(l:path . '/.flake8rc')
|
||||
|
|
|
@ -39,6 +39,7 @@ ALE will look for configuration files with the following filenames. >
|
|||
tox.ini
|
||||
.pyre_configuration.local
|
||||
mypy.ini
|
||||
.mypy.ini
|
||||
pycodestyle.cfg
|
||||
.flake8
|
||||
.flake8rc
|
||||
|
|
Loading…
Reference in New Issue