Skip to content

Commit

Permalink
ci: Move black to pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
auscompgeek committed Jan 1, 2025
1 parent a0b3c8c commit 821f90f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
- uses: pre-commit/[email protected]

check-doc:
runs-on: ubuntu-20.04
Expand Down
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
repos:
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.10.0
hooks:
- id: black

0 comments on commit 821f90f

Please sign in to comment.