summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-12-17 12:38:46 +0000
committerw0rp <devw0rp@gmail.com>2017-12-17 12:38:50 +0000
commit55e09a4a2da8f14d03e69d78351089540b898528 (patch)
treec803fd727faebe6c1721c9bf10644cc1650d5a6e
parent7e793c9d71c93e03d38fcf952b926069473c2705 (diff)
downloadale-55e09a4a2da8f14d03e69d78351089540b898528.zip
Look for mypy.ini to find Python project roots too
-rw-r--r--autoload/ale/python.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim
index 7a294e4a..117b0efe 100644
--- a/autoload/ale/python.vim
+++ b/autoload/ale/python.vim
@@ -18,6 +18,7 @@ function! ale#python#FindProjectRootIni(buffer) abort
\|| filereadable(l:path . '/setup.cfg')
\|| filereadable(l:path . '/pytest.ini')
\|| filereadable(l:path . '/tox.ini')
+ \|| filereadable(l:path . '/mypy.ini')
\|| filereadable(l:path . '/pycodestyle.cfg')
\|| filereadable(l:path . '/flake8.cfg')
return l:path