1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

[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() { 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 $?
} }