[mod] add test.pyright to test & ci.test targets

Since we currently have many type checking errors,
we for now only test with typeCheckingMode: off
which makes pyright only check files that contain a comment:

    # pyright: basic

to enable basic type checking, or

    # pyright: strict

to enable strict type checking.
This commit is contained in:
Martin Fischer
2022-01-20 08:26:16 +01:00
parent 3cd5ce55e8
commit 96450b17d4
3 changed files with 13 additions and 3 deletions

2
manage
View File

@@ -689,7 +689,7 @@ test.pyright() {
nodejs.ensure
# We run Pyright in the virtual environment because Pyright
# executes "python" to determine the Python version.
pyenv.cmd pyright
pyenv.cmd pyright -p pyrightconfig-ci.json
dump_return $?
}