Skip to content

Commit bc31675

Browse files
test ignore markers
1 parent 0ee2560 commit bc31675

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ default_stages: [commit]
44

55
repos:
66
- repo: https://github.com/lorenzwalthert/precommit
7-
rev: v0.2.2.9011
7+
rev: b2a735b
88
hooks:
99
- id: style-files
10-
args: [--style_pkg=styler, --style_fun=tidyverse_style]
10+
args: ['--ignore-start="^# styler: on$"', '--ignore-stop="^# styler: off$"']
1111
exclude: >
1212
(?x)^(
1313
tests/testthat/.*/.*\.R(md|nw)?|

0 commit comments

Comments
 (0)