Skip to content

Commit

Permalink
Merge pull request #217 from ursgal/fix-black-action
Browse files Browse the repository at this point in the history
Update black.yml
  • Loading branch information
StSchulze committed Jul 8, 2022
2 parents 7863437 + 009ed72 commit 4627812
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,13 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: 'Code formatting'
uses: pyratez/python-black-check@master
with:
path: '.'
line-length: 89
exclude: '(ursgal/wrapper_template/|.tox)'
- uses: actions/checkout@v2
- name: Run black
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: install black
run: pip install black
- name: run black
run: black --check --exclude 'ursgal/|example_scripts/|.tox' .

0 comments on commit 4627812

Please sign in to comment.