generated from replicatedhq/krew-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.pre-commit-config.yaml
44 lines (38 loc) · 1.11 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: meta
hooks:
- id: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: mixed-line-ending
- id: check-yaml
args: [--allow-multiple-documents]
exclude: ^.krew.yaml$
- id: check-added-large-files
- repo: local
hooks:
# Usual pre-commit install only installs the pre-commit hook, trying to get
# them installed through this hook.
- id: install-pre-push-hook
name: install-pre-push-hook
entry: pre-commit install -t pre-push
language: system
always_run: true
pass_filenames: false
- id: make-test
name: make test
entry: make test
language: system
always_run: true
pass_filenames: false
- id: make-test-e2e
name: make test-e2e
stages: [push]
entry: make test-e2e
language: system
always_run: true
pass_filenames: false