Skip to content

Commit

Permalink
feat: check code format when PR
Browse files Browse the repository at this point in the history
  • Loading branch information
pnsuau authored and beniz committed Mar 29, 2022
1 parent 9229934 commit eeb56cb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/github-actions-black-formatting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: black
on: pull_request
jobs:
black:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: 3.9
- run: |
python -m pip install --upgrade pip
pip install black
- run: |
black --check --verbose .

0 comments on commit eeb56cb

Please sign in to comment.