From daa32e3463378f114fb06c77927eadf952dc1599 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 12 Apr 2022 20:39:43 -0400 Subject: [PATCH] Use pyright CI action and remove --verbose from black --- .github/workflows/lint.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5e043298c..4d8263456 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -35,15 +35,14 @@ jobs: with: node-version: '16' - - name: Install pyright - run: | - npm install -g pyright@1.1.235 - - - name: Run pyright - run: | - pyright + - name: Run Pyright + uses: jakebailey/pyright-action@v1 + with: + version: '1.1.235' + warnings: false + no-comments: ${{ matrix.python-version != '3.x' }} - name: Run black if: ${{ always() && steps.install-deps.outcome == 'success' }} run: | - black --check --verbose discord examples + black --check discord examples