Skip to content

Commit

Permalink
Add black pre-commit (#1249)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
  • Loading branch information
thomaspoignant authored Nov 12, 2023
1 parent 5d2f551 commit 7fb0857
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
repos:
- repo: https://github.com/Bahjat/pre-commit-golang
rev: v1.0.1
rev: v1.0.3
hooks:
- id: gofumpt

- repo: https://github.com/golangci/golangci-lint
rev: v1.55.1
rev: v1.55.2
hooks:
- id: golangci-lint

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.11.0
hooks:
- id: black
language_version: python3.12

0 comments on commit 7fb0857

Please sign in to comment.