@@ -4,17 +4,22 @@ default_stages: [commit]
44
55repos :
66- repo : https://github.com/lorenzwalthert/precommit
7- rev : v0.1.3.9014
7+ rev : v0.1.3.9135
88 hooks :
99 - id : style-files
1010 args : [--style_pkg=styler, --style_fun=tidyverse_style]
1111 exclude : >
1212 (?x)^(
13- tests/testthat/.*/.*\.R(md)?|
13+ tests/testthat/.*/.*\.R(md|nw )?|
1414 vignettes/customizing_styler\.Rmd|
1515 tests/testthat/public-api/xyzfile-rnw/random4\.Rnw|
16+ vignettes/detect-alignment\.Rmd|
17+ tests/testmanual/addins/.*invalid.*|
18+ tests/testmanual/addins/r-valid\.R|
1619 )$
1720 - id : roxygenize
21+ additional_dependencies :
22+ - r-lib/pkgapi
1823 - id : use-tidy-description
1924 - id : spell-check
2025 exclude : >
4954 tests/testthat/public-api/xyzaddin/addin_region-.*|
5055 tests/testmanual/addins/r-invalid\.R|
5156 tests/testthat/escaping/basic-escape-out\.R|
52- tests/testthat/indention_operators/base_pipe_and_assignment-.*|
57+ tests/testthat/indention_operators/.*pipe.*|
58+ tests/testthat/line_breaks_and_other/.*pipe.*|
5359 tests/testthat/exception_handling/parser-error.R|
5460 )$
5561 - id : no-browser-statement
@@ -58,14 +64,15 @@ repos:
5864 tests/testthat/public-api/xyzaddin/addin_region-.*|
5965 tests/testmanual/addins/r-invalid\.R|
6066 tests/testthat/escaping/basic-escape-out\.R|
61- tests/testthat/indention_operators/base_pipe_and_assignment-.*|
67+ tests/testthat/indention_operators/.*pipe.*|
68+ tests/testthat/line_breaks_and_other/.*pipe.*|
6269 tests/testthat/exception_handling/parser-error.R|
6370 )$
6471 - id : deps-in-desc
6572 exclude : >
6673 (?x)^(
6774 touchstone/.*|
68- tests/testmanual/addins/r- invalid\.R |
75+ tests/testmanual/addins/.* invalid.* |
6976 tests/testthat/escaping/basic-escape-out\.R|
7077 tests/testthat/rnw/011-conditional-eval-out\.Rnw|
7178 tests/testthat/.*\.R(md)?
@@ -76,7 +83,13 @@ repos:
7683 - id : check-added-large-files
7784 args : ['--maxkb=200']
7885 - id : end-of-file-fixer
79- exclude : ' \.Rd'
86+ exclude : >
87+ (?x)^(
88+ \.Rd|
89+ tests/testthat/exception_handling/empty_file\.R|
90+ tests/testthat/parse_comments/eol_eof_spaces-.*|
91+ tests/testthat/reference-objects/.*|
92+ )$
8093 - repo : local
8194 hooks :
8295 - id : forbid-to-commit
0 commit comments