Updating precommit
@@ -2,12 +2,12 @@ default_stages: [commit, push]
minimum_pre_commit_version: "1.20.0"
repos:
- repo: git://github.com/dnephin/pre-commit-golang
- rev: master
+ rev: v0.3.5
hooks:
- id: go-fmt
name: Run go fmt against the code
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v3.2.0
+ rev: v3.4.0
hooks:
- id: trailing-whitespace
- id: detect-private-key
@@ -15,7 +15,7 @@ repos:
- id: check-merge-conflict
- id: mixed-line-ending
- repo: https://github.com/thlorenz/doctoc.git
- rev: v1.4.0
+ rev: v2.0.0
hooks:
- id: doctoc
name: Add TOC for md files
