Skip to content

Commit 7097b10

Browse files
authored
Merge pull request #246 from robotpy/pre-commit
ci: Move black to pre-commit
2 parents c3c3a28 + 821f90f commit 7097b10

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/dist.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
runs-on: ubuntu-latest
4141
steps:
4242
- uses: actions/checkout@v3
43-
- uses: psf/black@stable
43+
- uses: pre-commit/[email protected]
4444

4545
check-doc:
4646
runs-on: ubuntu-20.04

.pre-commit-config.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
repos:
3+
- repo: https://github.com/psf/black-pre-commit-mirror
4+
rev: 24.10.0
5+
hooks:
6+
- id: black

0 commit comments

Comments
 (0)