[enh] clarify why we run pyright in the pyenv

This commit is contained in:
Martin Fischer 2022-01-20 07:04:39 +01:00
parent aaf616fbd6
commit 3cd5ce55e8
1 changed files with 2 additions and 0 deletions

2
manage
View File

@ -687,6 +687,8 @@ test.pylint() {
test.pyright() { test.pyright() {
build_msg TEST "[pyright] static type check of python sources" build_msg TEST "[pyright] static type check of python sources"
nodejs.ensure nodejs.ensure
# We run Pyright in the virtual environment because Pyright
# executes "python" to determine the Python version.
pyenv.cmd pyright pyenv.cmd pyright
dump_return $? dump_return $?
} }