diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim index 4dc01798..7a998414 100644 --- a/autoload/ale/python.vim +++ b/autoload/ale/python.vim @@ -33,6 +33,8 @@ function! ale#python#FindProjectRootIni(buffer) abort \|| filereadable(l:path . '/pylama.ini') \|| filereadable(l:path . '/pylintrc') \|| filereadable(l:path . '/.pylintrc') + \|| filereadable(l:path . '/pyrightconfig.json') + \|| filereadable(l:path . '/pyrightconfig.toml') \|| filereadable(l:path . '/Pipfile') \|| filereadable(l:path . '/Pipfile.lock') \|| filereadable(l:path . '/poetry.lock') diff --git a/doc/ale-python.txt b/doc/ale-python.txt index 41488a65..d5d01dc5 100644 --- a/doc/ale-python.txt +++ b/doc/ale-python.txt @@ -46,6 +46,8 @@ ALE will look for configuration files with the following filenames. > pylama.ini pylintrc .pylintrc + pyrightconfig.json + pyrightconfig.toml Pipfile Pipfile.lock poetry.lock