[enh] allow passing arguments to test.pyright

This commit is contained in:
Martin Fischer 2022-01-28 07:52:02 +01:00
parent 4f82ab36a9
commit 24b784a360

2
manage
View file

@ -697,7 +697,7 @@ test.pyright() {
# 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.
build_msg TEST "[pyright] suppress warnings related to intentional monkey patching" build_msg TEST "[pyright] suppress warnings related to intentional monkey patching"
pyenv.cmd npx --no-install pyright -p pyrightconfig-ci.json \ pyenv.cmd npx --no-install pyright -p pyrightconfig-ci.json "$@" \
| grep -v ".py$" \ | grep -v ".py$" \
| grep -v '/engines/.*.py.* - warning: "logger" is not defined'\ | grep -v '/engines/.*.py.* - warning: "logger" is not defined'\
| grep -v '/engines/.*.py.* - warning: "supported_languages" is not defined' \ | grep -v '/engines/.*.py.* - warning: "supported_languages" is not defined' \