-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
39 lines (39 loc) · 1.13 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
---
repos:
#- repo: git://github.com/p1c2u/openapi-spec-validator
# rev: master
# hooks:
# - id: openapi-spec-validator
# name: openapi-spec-validator
# entry: openapi-spec-validator
# description: Hook to validate Open API specs.
# language: python
# files: .*lpa-openapi.*\.(json|yaml|yml)
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.32.0
hooks:
- id: yamllint
args: [-c=./.yamllint]
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.81.0
hooks:
- id: terraform_fmt
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: trailing-whitespace
- id: detect-private-key
- id: flake8
args: ['--ignore=W503', '--exclude=docs/supportscripts/*']
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/ambv/black
rev: 23.3.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/Yelp/detect-secrets
rev: v1.4.0
hooks:
- id: detect-secrets
args: ['--baseline', '.secrets.baseline']