diff options
author | w0rp <devw0rp@gmail.com> | 2017-12-17 12:38:46 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-12-17 12:38:50 +0000 |
commit | 55e09a4a2da8f14d03e69d78351089540b898528 (patch) | |
tree | c803fd727faebe6c1721c9bf10644cc1650d5a6e /autoload | |
parent | 7e793c9d71c93e03d38fcf952b926069473c2705 (diff) | |
download | ale-55e09a4a2da8f14d03e69d78351089540b898528.zip |
Look for mypy.ini to find Python project roots too
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/python.vim | 1 |
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 |