From 86ccd30983baffe90e38ecf7ab2fa9fda659cfc8 Mon Sep 17 00:00:00 2001 From: Francis Couture-Harpin Date: Sun, 7 Jul 2024 14:08:19 -0400 Subject: [PATCH] ci : only show warnings and errors in python type-check The "information" level otherwise has entries from 'examples/pydantic_models_to_grammar.py', which could be confusing for someone trying to figure out what failed, considering that these messages can safely be ignored even though they look like errors. --- .github/workflows/python-type-check.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python-type-check.yml b/.github/workflows/python-type-check.yml index a4f6e0005..e5ff5e6d7 100644 --- a/.github/workflows/python-type-check.yml +++ b/.github/workflows/python-type-check.yml @@ -34,4 +34,5 @@ jobs: uses: jakebailey/pyright-action@v2 with: version: 1.1.370 + level: warning warnings: true