[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

2
manage
View file

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