Browse Source

[enh] clarify why we run pyright in the pyenv

Martin Fischer 3 years ago
parent
commit
3cd5ce55e8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      manage

+ 2 - 0
manage

@@ -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 $?
 }