From 55e09a4a2da8f14d03e69d78351089540b898528 Mon Sep 17 00:00:00 2001 From: w0rp Date: Sun, 17 Dec 2017 12:38:46 +0000 Subject: Look for mypy.ini to find Python project roots too --- autoload/ale/python.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'autoload') 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 -- cgit v1.2.3