Skip to content

Commit

Permalink
pre-commit: use local golangci-lint binary
Browse files Browse the repository at this point in the history
  • Loading branch information
moukoublen committed Apr 12, 2024
1 parent 409241a commit b0085b4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@ repos:
hooks:
- id: add-trailing-comma

## Golang hooks
- repo: https://github.com/golangci/golangci-lint
rev: v1.57.2
- repo: local
hooks:
- id: golangci-lint
name: Run golangci-lint
entry: bash -c 'golangci-lint run'
language: system
files: .*.go
pass_filenames: false

## Python
- repo: https://github.com/PyCQA/flake8
Expand Down

0 comments on commit b0085b4

Please sign in to comment.