-
Notifications
You must be signed in to change notification settings - Fork 190
/
.pre-commit-config.yaml
37 lines (33 loc) · 927 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
32
33
34
35
36
37
# All available hooks: https://pre-commit.com/hooks.html
# R specific hooks: https://github.com/lorenzwalthert/precommit
default_stages: [pre-commit]
default_language_version:
python: python3
repos:
- repo: https://github.com/lorenzwalthert/precommit
rev: v0.4.3.9003
hooks:
- id: no-browser-statement
- id: no-debug-statement
- id: parsable-R
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-json
- id: check-yaml
- id: mixed-line-ending
- id: file-contents-sorter
files: "\\.Rbuildignore$"
- id: end-of-file-fixer
exclude: >
(?x)^(
man/.*|
tests/testthat/_snaps/.*\.md|
)$
- repo: https://github.com/lorenzwalthert/gitignore-tidy
rev: "0.1.2"
hooks:
- id: tidy-gitignore
ci:
autoupdate_schedule: monthly