Skip to content

Commit 609e461

Browse files
avoid pre-commit checks
1 parent f36e9f7 commit 609e461

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.pre-commit-config.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,19 @@ repos:
88
hooks:
99
- id: style-files
1010
args: [--style_pkg=styler, --style_fun=tidyverse_style]
11-
exclude: 'tests/testthat/.*/.*\.R'
11+
exclude: >
12+
(?x)^(
13+
tests/testthat/.*/.*\.R|
14+
vignettes/customizing_styler\.Rmd
15+
)$
1216
- id: roxygenize
1317
- id: use-tidy-description
1418
- id: spell-check
1519
exclude: >
1620
(?x)^(
17-
data/.*|
1821
\.github/.*\.yaml|
22+
data/.*|
23+
tests/testthat/.*|
1924
touchstone/config\.json|
2025
(.*/|)\.Rprofile|
2126
(.*/|)\.Renviron|
@@ -38,13 +43,17 @@ repos:
3843
)$
3944
- id: readme-rmd-rendered
4045
- id: parsable-R
46+
exclude: >
47+
(?x)^(
48+
tests/testthat/public-api/xyzaddin/addin_region-.*|
49+
tests/testmanual/addins/r-invalid\.R
50+
)$
4151
- id: no-browser-statement
4252
- id: deps-in-desc
4353
exclude: >
4454
(?x)^(
4555
touchstone/.*|
46-
tests/testthat/.*-in\.R(md)?|
47-
tests/testthat/.*-out\.R(md)?
56+
tests/testthat/.*\.R(md)?
4857
)$
4958
- repo: https://github.com/pre-commit/pre-commit-hooks
5059
rev: v4.0.1

0 commit comments

Comments
 (0)