mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 20:54:26 +08:00
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:
committed by
GitHub
parent
044a6c956b
commit
e6ca599e87
@@ -26,6 +26,7 @@ function! ale#python#FindProjectRootIni(buffer) abort
|
|||||||
\|| filereadable(l:path . '/tox.ini')
|
\|| filereadable(l:path . '/tox.ini')
|
||||||
\|| filereadable(l:path . '/.pyre_configuration.local')
|
\|| filereadable(l:path . '/.pyre_configuration.local')
|
||||||
\|| filereadable(l:path . '/mypy.ini')
|
\|| filereadable(l:path . '/mypy.ini')
|
||||||
|
\|| filereadable(l:path . '/.mypy.ini')
|
||||||
\|| filereadable(l:path . '/pycodestyle.cfg')
|
\|| filereadable(l:path . '/pycodestyle.cfg')
|
||||||
\|| filereadable(l:path . '/.flake8')
|
\|| filereadable(l:path . '/.flake8')
|
||||||
\|| filereadable(l:path . '/.flake8rc')
|
\|| filereadable(l:path . '/.flake8rc')
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ ALE will look for configuration files with the following filenames. >
|
|||||||
tox.ini
|
tox.ini
|
||||||
.pyre_configuration.local
|
.pyre_configuration.local
|
||||||
mypy.ini
|
mypy.ini
|
||||||
|
.mypy.ini
|
||||||
pycodestyle.cfg
|
pycodestyle.cfg
|
||||||
.flake8
|
.flake8
|
||||||
.flake8rc
|
.flake8rc
|
||||||
|
|||||||
Reference in New Issue
Block a user