Skip to content

Commit b9f317f

Browse files
authored
GitHub Actions: fast-fail on black formatting issues
Give fast feedback to contributors https://github.com/psf/black#github-actions
1 parent ced83be commit b9f317f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/pre-commit.yml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
~/.cache/pip
1515
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
1616
- uses: actions/setup-python@v2
17+
- uses: psf/black@stable
1718
- name: Install pre-commit
1819
run: |
1920
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)