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 authored and GitHub committed 2022-05-15 12:20:16 +09:00
1 parent 044a6c956b
commit e6ca599e87
2 files changed
+2

No files matched your search

+1
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')