mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-05 11:27:13 +00:00
Use pyright CI action and remove --verbose from black
This commit is contained in:
parent
1931b0eb75
commit
daa32e3463
15
.github/workflows/lint.yml
vendored
15
.github/workflows/lint.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user