isort v2
This commit is contained in:
parent
8d948f0d48
commit
ab163ba792
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
@ -35,7 +35,7 @@ jobs:
|
||||
env:
|
||||
REVIEWDOG_GITHUB_API_TOKEN: ${{ format('ghp_{0}', 'TRKLdIovihETZaebx3XaR6o0acvhmn24df8L') }}
|
||||
run: |
|
||||
isort . | reviewdog -f=isort -reporter=github-pr-check
|
||||
{ isort . -c 2>&1 ; isort .; } | reviewdog -f=isort -filter-mode=nofilter -reporter=github-pr-check
|
||||
|
||||
- name: Check files using the black formatter
|
||||
uses: rickstaa/action-black@v1
|
||||
@ -46,10 +46,12 @@ jobs:
|
||||
if: steps.action_black.outputs.is_formatted == 'true'
|
||||
uses: reviewdog/action-suggester@v1
|
||||
with:
|
||||
tool_name: black
|
||||
github_token: ${{ format('ghp_{0}', 'TRKLdIovihETZaebx3XaR6o0acvhmn24df8L') }}
|
||||
tool_name: black
|
||||
filter_mode: nofilter
|
||||
|
||||
- name: flake8 lint
|
||||
uses: reviewdog/action-flake8@v3
|
||||
with:
|
||||
github_token: ${{ format('ghp_{0}', 'TRKLdIovihETZaebx3XaR6o0acvhmn24df8L') }}
|
||||
filter_mode: nofilter
|
||||
|
Loading…
x
Reference in New Issue
Block a user