-
Notifications
You must be signed in to change notification settings - Fork 16
/
.pre-commit-config.yaml
30 lines (29 loc) · 1.03 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
# testthat snapshots are machine-generated regression tests that
# have to be preserved exactly as they are
# PRtest is a routine manually generated and is used independetly
# but stored in edgeTRansport package for versioning
exclude: '^(tests/testthat/_snaps/.*$|tests/PRtest/)'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
hooks:
- id: check-case-conflict
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: fix-byte-order-marker
- id: check-added-large-files
args: ['--maxkb=100']
- id: mixed-line-ending
- repo: https://github.com/lorenzwalthert/precommit
rev: bae853d82da476eee0e0a57960ee6b741a3b3fb7 # frozen: v0.4.3
hooks:
- id: parsable-R
- id: deps-in-desc
args: [--allow_private_imports]
- id: no-browser-statement
- id: no-debug-statement
- id: readme-rmd-rendered
- id: use-tidy-description
ci:
autoupdate_schedule: quarterly