|
@@ -687,9 +687,10 @@ 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
|
|
|
|
+ npm install
|
|
# We run Pyright in the virtual environment because Pyright
|
|
# We run Pyright in the virtual environment because Pyright
|
|
# executes "python" to determine the Python version.
|
|
# executes "python" to determine the Python version.
|
|
- pyenv.cmd pyright -p pyrightconfig-ci.json
|
|
|
|
|
|
+ pyenv.cmd npx --no-install pyright -p pyrightconfig-ci.json
|
|
dump_return $?
|
|
dump_return $?
|
|
}
|
|
}
|
|
|
|
|