|
@ -30,15 +30,14 @@ jobs: |
|
|
with: |
|
|
with: |
|
|
node-version: '16' |
|
|
node-version: '16' |
|
|
|
|
|
|
|
|
- name: Install pyright |
|
|
- name: Run Pyright |
|
|
run: | |
|
|
uses: jakebailey/pyright-action@v1 |
|
|
npm install -g pyright@1.1.235 |
|
|
with: |
|
|
|
|
|
version: '1.1.235' |
|
|
- name: Run pyright |
|
|
warnings: false |
|
|
run: | |
|
|
no-comments: ${{ matrix.python-version != '3.x' }} |
|
|
pyright |
|
|
|
|
|
|
|
|
|
|
|
- name: Run black |
|
|
- name: Run black |
|
|
if: ${{ always() && steps.install-deps.outcome == 'success' }} |
|
|
if: ${{ always() && steps.install-deps.outcome == 'success' }} |
|
|
run: | |
|
|
run: | |
|
|
black --check --verbose discord examples |
|
|
black --check discord examples |
|
|