Skip to content

Commit 2cf2cc9

Browse files
committed
precommit autoupdate
1 parent 1315d11 commit 2cf2cc9

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.pre-commit-config.yaml

+6-7
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
---
15-
default_stages: [commit, push]
15+
default_stages: [pre-commit, pre-push]
1616
minimum_pre_commit_version: "1.20.0"
1717
repos:
1818
- repo: https://github.com/Lucas-C/pre-commit-hooks
19-
rev: v1.1.9
19+
rev: v1.5.5
2020
hooks:
2121
- id: insert-license
2222
name: Add license for all shell files
@@ -49,27 +49,26 @@ repos:
4949
- license-templates/LICENSE.txt
5050
- --fuzzy-match-generates-todo
5151
- repo: https://github.com/dnephin/pre-commit-golang
52-
rev: master
52+
rev: v0.5.1
5353
hooks:
5454
- id: go-fmt
5555
name: Run go fmt
5656
- repo: https://github.com/pre-commit/pre-commit-hooks
57-
rev: v3.2.0
57+
rev: v5.0.0
5858
hooks:
5959
- id: trailing-whitespace
60+
args: ['--exclude', 'third_party/jquery/jquery-3.7.1.min.js']
6061
- id: detect-private-key
6162
- id: end-of-file-fixer
6263
- id: check-merge-conflict
6364
- id: mixed-line-ending
6465
- repo: https://github.com/adrienverge/yamllint
65-
rev: v1.23.0
66+
rev: v1.35.1
6667
hooks:
6768
- id: yamllint
6869
name: Check yaml files with yamllint
6970
entry: yamllint -c yamllint-config.yml
7071
types: [yaml]
71-
- id: trailing-whitespace
72-
args: ['--exclude', 'third_party/jquery/jquery-3.7.1.min.js']
7372
- repo: local
7473
hooks:
7574
- id: language-matters

0 commit comments

Comments
 (0)