-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
106 lines (93 loc) · 2.81 KB
/
.pre-commit-config.yaml
File metadata and controls
106 lines (93 loc) · 2.81 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
repos:
# - repo: https://github.com/bjd2385/pre-commit-gitlabci-lint
# rev: v1.1.5
# hooks:
# - id: gitlabci-lint
# # Expects env var like GITHUB_TOKEN=\"$\(pass show github-token\)\".
# args:
# [
# -b, 'https://git.ops.sbe-vision.com',
# -c, .gitlab-ci.yml
# ]
# Requires hadolint binary on local machine.
# - repo: https://github.com/hadolint/hadolint
# rev: v2.12.0
# hooks:
# - id: hadolint
# args:
# - --config
# - .hadolint.yaml
# - Dockerfile
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: check-added-large-files
args: [--maxkb=10000, --enforce-all]
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: mixed-line-ending
- id: trailing-whitespace
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: v0.991
# hooks:
# - id: mypy
# args:
# - --install-types
# - --non-interactive
# - --config-file=.mypy.ini
# - repo: https://github.com/mgedmin/check-manifest
# rev: "0.48"
# hooks:
# - id: check-manifest
# args:
# - --ignore
# - "*.json,*.txt,*.yaml,.mypy.ini,config/*.md,docker/*.sh,,examples/*,helm/*,package/*,scripts/*,service/*,tests/*,.circleci/*,.pylintrc,.tool-versions,docker/**/*,helm/**/*,examples/**/*"
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: shellcheck
args:
- -x
- repo: https://github.com/bjd2385/circleci-config-pre-commit-hook
rev: v1.1.2
hooks:
- id: circleci-config-validate
# - repo: https://github.com/k-ogawa-1988/yamale-pre-commit
# rev: v0.0.2
# hooks:
# - id: yamale-validate
# args:
# - conf/schema.yaml
# - repo: https://github.com/gruntwork-io/pre-commit
# rev: v0.1.17
# hooks:
# - id: helmlint
# - repo: https://github.com/python-poetry/poetry
# rev: 1.3.0
# hooks:
# - id: poetry-check
# - id: poetry-lock
# - id: poetry-export
# args: ["-f", "requirements.txt", "-o", "requirements.txt"]
# - repo: https://github.com/PyCQA/pylint
# rev: v2.16.0b1
# hooks:
# - id: pylint
# args:
# - --rcfile=.pylintrc
# - premiscale/
# - repo: https://github.com/abravalheri/validate-pyproject
# rev: v0.12.1
# hooks:
# - id: validate-pyproject
# - repo: https://github.com/charliermarsh/ruff-pre-commit
# rev: v0.0.237
# hooks:
# - id: ruff
# args: [--fix]
# exclude: ^resources
- repo: https://github.com/premiscale/pre-commit-hooks
rev: v0.0.3
hooks:
- id: msg-issue-prefix