Skip to content

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgesurer committed Jul 22, 2023
1 parent ee2b454 commit 5617223
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,10 @@ on:
branches: [ "techno_paper"]
pull_request:
branches: [ "techno_paper"]

jobs:
linter_name:
name: black
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check files using the black formatter
uses: rickstaa/action-black@v1
id: action_black
with:
black_args: "--config=.black . --check"
- name: Annotate diff changes using reviewdog
if: steps.action_black.outputs.is_formatted == 'true'
uses: reviewdog/action-suggester@v1
with:
tool_name: blackfmt
- uses: actions/checkout@v3
- uses: psf/black@stable

0 comments on commit 5617223

Please sign in to comment.