Skip to content

Commit 9945a4b

Browse files
committed
.pre-commit-config.yaml: Set fail_fast=true and add roxygenize hook.
1 parent 17cfd10 commit 9945a4b

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

.pre-commit-config.yaml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
1+
fail_fast: true
12
repos:
2-
- repo: https://github.com/lorenzwalthert/precommit
3-
rev: v0.4.3.9005
4-
hooks:
5-
- id: parsable-R
6-
- id: no-browser-statement
7-
- id: no-print-statement
8-
- id: no-debug-statement
9-
- id: deps-in-desc
10-
args: [--root=r/]
11-
exclude: 'do.R'
12-
133
- repo: https://github.com/pre-commit/pre-commit-hooks
144
rev: v5.0.0
155
hooks:
@@ -28,11 +18,27 @@ repos:
2818
rev: "1.5.0"
2919
hooks:
3020
- id: tox-ini-fmt
21+
3122
- repo: https://github.com/tox-dev/pyproject-fmt
3223
rev: "v2.5.1"
3324
hooks:
3425
- id: pyproject-fmt
3526
additional_dependencies: ["tox>=4.12.1"]
27+
28+
- repo: https://github.com/lorenzwalthert/precommit
29+
rev: v0.4.3.9005
30+
hooks:
31+
- id: parsable-R
32+
- id: no-browser-statement
33+
- id: no-print-statement
34+
- id: no-debug-statement
35+
- id: deps-in-desc
36+
args: [--root=r/]
37+
exclude: 'do.R'
38+
- id: roxygenize
39+
args: [--root=r/]
40+
additional_dependencies:
41+
- Rdpack
3642
- repo: https://github.com/astral-sh/ruff-pre-commit
3743
# Ruff version.
3844
rev: v0.11.0

0 commit comments

Comments
 (0)