Look for mypy.ini to find Python project roots too
This commit is contained in:
parent
7e793c9d71
commit
55e09a4a2d
@ -18,6 +18,7 @@ function! ale#python#FindProjectRootIni(buffer) abort
|
|||||||
\|| filereadable(l:path . '/setup.cfg')
|
\|| filereadable(l:path . '/setup.cfg')
|
||||||
\|| filereadable(l:path . '/pytest.ini')
|
\|| filereadable(l:path . '/pytest.ini')
|
||||||
\|| filereadable(l:path . '/tox.ini')
|
\|| filereadable(l:path . '/tox.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')
|
||||||
return l:path
|
return l:path
|
||||||
|
Loading…
Reference in New Issue
Block a user