From a334a29c967e12aaf67a1819c81661e6402c3ff3 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Wed, 5 May 2021 12:49:21 -0700 Subject: [PATCH] Bump pyright, disable PR/commit commenting for all but one job (#5347) * Bump pyright, disable PR/commit commenting for now * Show comments for 3.9 * And only on Linux --- .github/workflows/tests.yml | 3 ++- tests/pyright_test.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 38184915f..377457a39 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -101,9 +101,10 @@ jobs: - uses: actions/checkout@v2 - uses: jakebailey/pyright-action@v1 with: - version: 1.1.136 # Must match pyright_test.py. + version: 1.1.137 # Must match pyright_test.py. python-platform: ${{ matrix.python-platform }} python-version: ${{ matrix.python-version }} + no-comments: ${{ matrix.python-version != '3.9' || matrix.python-platform != 'Linux' }} # Having each job create the same comment is too noisy. stubtest: name: Check stdlib with stubtest diff --git a/tests/pyright_test.py b/tests/pyright_test.py index b648159a3..9b5c32c76 100755 --- a/tests/pyright_test.py +++ b/tests/pyright_test.py @@ -5,7 +5,7 @@ import subprocess import sys from pathlib import Path -_PYRIGHT_VERSION = "1.1.136" # Must match tests.yml. +_PYRIGHT_VERSION = "1.1.137" # Must match tests.yml. _WELL_KNOWN_FILE = Path("tests", "pyright_test.py")