forked from broadinstitute/gnomad-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
31 lines (31 loc) · 932 Bytes
/
.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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 19.10b0
hooks:
- id: black
language_version: python3
types: [python]
- repo: local
hooks:
- id: git-secrets pre-commit
name: git-secrets (pre-commit/push hook)
entry: git-secrets --pre_commit_hook --
language: system
stages: [commit, push]
- id: git-secrets commit-msg
name: git-secrets (commit-msg hook)
entry: git-secrets --commit_msg_hook --
language: system
stages: [commit-msg]
- id: git-secrets prepare-commit-msg
name: git-secrets (prepare-commit-msg hook)
entry: git-secrets --prepare_commit_msg_hook --
language: system
stages: [prepare-commit-msg]