-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
41 lines (37 loc) · 996 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
41 lines (37 loc) · 996 Bytes
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
default_install_hook_types:
- pre-commit
- commit-msg
- post-commit
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: end-of-file-fixer
- id: trailing-whitespace
args: [ --markdown-linebreak-ext=md ]
- id: detect-private-key
- repo: https://github.com/lorenzwalthert/precommit
rev: v0.4.3.9017
hooks:
- id: no-browser-statement
- repo: https://github.com/uker-troi-lab/commit_hooks.git
rev: v0.0.1
hooks:
- id: check-commit-msg
# local hooks
- repo: local
hooks:
- id: changelog-helper
name: changelog-helper
entry: Rscript inst/hooks/changelog_helper.R
language: r
always_run: true
stages: [commit-msg]
- id: recreate-changelog
name: recreate-changelog
entry: Rscript inst/hooks/recreate_changelog.R
language: r
always_run: true
stages: [post-commit]
args: [--file_name=NEWS]