fix reviewdog

This commit is contained in:
lordwelch 2022-01-17 00:21:16 -08:00
parent a1d9aab352
commit 8d948f0d48

View File

@ -30,6 +30,13 @@ jobs:
done
shell: bash
- uses: reviewdog/action-setup@v1
- name: isort lint
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ format('ghp_{0}', 'TRKLdIovihETZaebx3XaR6o0acvhmn24df8L') }}
run: |
isort . | reviewdog -f=isort -reporter=github-pr-check
- name: Check files using the black formatter
uses: rickstaa/action-black@v1
id: action_black
@ -42,12 +49,6 @@ jobs:
tool_name: black
github_token: ${{ format('ghp_{0}', 'TRKLdIovihETZaebx3XaR6o0acvhmn24df8L') }}
- name: isort lint
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
isort . | reviewdog -f=isort -reporter=github-pr-check
- name: flake8 lint
uses: reviewdog/action-flake8@v3
with: