diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2022-01-26 14:52:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-26 14:52:46 +0100 |
| commit | c110a58a89bede592917c865eff32e2eddeecf1b (patch) | |
| tree | 048b6c893aac75bf49a5d7a9bacb0dbd265f91ae /manage | |
| parent | ccffab3a43f1f64903b662a548a81fbd5d341384 (diff) | |
| parent | 73a6da4dd9ab95555969d42aa64bbc1c78bb0a71 (diff) | |
Merge pull request #820 from return42/ign-monkey
[test.pyright] suppress warnings about intentional monkey patching
Diffstat (limited to 'manage')
| -rwxr-xr-x | manage | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -696,11 +696,15 @@ test.pyright() { node.env.devtools # We run Pyright in the virtual environment because Pyright # executes "python" to determine the Python version. - pyenv.cmd npx --no-install pyright -p pyrightconfig-ci.json + build_msg TEST "[pyright] suppress warnings related to intentional monkey patching" + 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' \ + | grep -v '/engines/.*.py.* - warning: "language_aliases" is not defined' dump_return $? } - test.black() { build_msg TEST "[black] \$BLACK_TARGETS" pyenv.cmd black --check --diff "${BLACK_OPTIONS[@]}" "${BLACK_TARGETS[@]}" |