Update FindProjectRootIni with poetry.lock and pyproject.toml
This commit is contained in:
parent
b91c6c2edd
commit
f125c11faa
2 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,8 @@ function! ale#python#FindProjectRootIni(buffer) abort
|
|||
\|| filereadable(l:path . '/.pylintrc')
|
||||
\|| filereadable(l:path . '/Pipfile')
|
||||
\|| filereadable(l:path . '/Pipfile.lock')
|
||||
\|| filereadable(l:path . '/poetry.lock')
|
||||
\|| filereadable(l:path . '/pyproject.toml')
|
||||
return l:path
|
||||
endif
|
||||
endfor
|
||||
|
|
|
@ -36,6 +36,8 @@ ALE will look for configuration files with the following filenames. >
|
|||
.pylintrc
|
||||
Pipfile
|
||||
Pipfile.lock
|
||||
poetry.lock
|
||||
pyproject.toml
|
||||
<
|
||||
|
||||
The first directory containing any of the files named above will be used.
|
||||
|
|
Reference in a new issue