forked from Alfresco/alfresco-ansible-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
43 lines (42 loc) · 1.2 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
---
repos:
- repo: https://github.com/PyCQA/pylint
rev: pylint-2.5.0
hooks:
- id: pylint
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.23.0
hooks:
- id: yamllint
files: \.(yaml|yml)$
types: [file, yaml]
entry: yamllint --strict
- repo: https://github.com/ansible/ansible-lint
rev: v5.0.12
hooks:
- id: ansible-lint
entry: ansible-lint -v
name: ansible-lint
files: \.(yaml|yml)$
- repo: https://github.com/Yelp/detect-secrets
rev: v0.13.1
hooks:
- id: detect-secrets
name: detect generic secrets
args: ['--baseline', '.secrets.baseline']
- repo: https://github.com/awslabs/git-secrets
rev: master
hooks:
- id: git-secrets
name: detect aws secrets
- repo: https://github.com/milin/giticket
rev: 6f166c66f2423e8e27898b39385d1166f9b643a3
hooks:
- id: giticket
args: ['--regex', '[A-Z]+-\d+[0-9]', '--format', '{ticket}: {commit_msg}', '--mode', 'regex_match']
- repo: local
hooks:
- id: generate-table
name: Generate components version table
entry: scripts/generate-comp-ver-table.py
language: python