mirror of https://github.com/dense-analysis/ale
Add pyright config files to project root files list (#4321)
Add configuration files for pyright (JSON and TOML) to list of files which identify a project root directory. Update documentation accordingly. Co-authored-by: Andreas Doll <andreas.doll@posteo.de>
This commit is contained in:
parent
78942df284
commit
915dc415f3
|
@ -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')
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue