mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[enh] allow passing arguments to test.pyright
This commit is contained in:
parent
4f82ab36a9
commit
24b784a360
1 changed files with 1 additions and 1 deletions
2
manage
2
manage
|
@ -697,7 +697,7 @@ test.pyright() {
|
|||
# We run Pyright in the virtual environment because Pyright
|
||||
# executes "python" to determine the Python version.
|
||||
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 '/engines/.*.py.* - warning: "logger" is not defined'\
|
||||
| grep -v '/engines/.*.py.* - warning: "supported_languages" is not defined' \
|
||||
|
|
Loading…
Add table
Reference in a new issue