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:
Fionn Fitzmaurice
2022-05-15 11:20:16 +08:00
committed by GitHub
parent 044a6c956b
commit e6ca599e87
2 changed files with 2 additions and 0 deletions

View File

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