Skip to content

Commit

Permalink
*: update pre-commit (#43453)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkingrei authored Apr 27, 2023
1 parent b21fb01 commit 23c6aad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,10 @@ repos:
language: system
pass_filenames: false
always_run: true
- id: go-mod-tidy
name: Run go mod tidy
entry: make tidy
files: '\.go$|go.mod$|go.sum$'
language: system
pass_filenames: false
always_run: false
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dev: checklist check explaintest gogenerate br_unit_test test_part_parser_dev ut
# Install the check tools.
check-setup:tools/bin/revive

precheck: fmt tidy bazel_prepare
precheck: fmt bazel_prepare

check: check-bazel-prepare parser_yacc check-parallel lint tidy testSuite errdoc license

Expand Down

0 comments on commit 23c6aad

Please sign in to comment.