Skip to content

Commit

Permalink
pre-commit run --all-files
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaspons committed Nov 22, 2024
1 parent d5343c6 commit d3b8ae3
Show file tree
Hide file tree
Showing 9 changed files with 1,159 additions and 81 deletions.
5 changes: 3 additions & 2 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
^LICENSE\.md$
^README\.Rmd$
^\.Rproj\.user$
^data-raw$
^\.github$
^\.lintr$
^\.pre-commit-config\.yaml$
^_pkgdown\.yml$
^data-raw$
^docs$
^pkgdown$
^\.github$
14 changes: 8 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# R specific hooks: https://github.com/lorenzwalthert/precommit
repos:
- repo: https://github.com/lorenzwalthert/precommit
rev: v0.4.3
rev: v0.4.3.9003
hooks:
- id: style-files
args: [--style_pkg=styler, --style_fun=tidyverse_style]
Expand All @@ -24,6 +24,7 @@ repos:
.*\.Rds|
.*\.Rproj|
.*\.sh|
.*\.svg|
(.*/|)\.gitignore|
(.*/|)\.gitlab-ci\.yml|
(.*/|)\.lintr|
Expand All @@ -40,6 +41,7 @@ repos:
\.github/workflows/.*|
data/.*|
)$
args: [--lang=ca_ES]
- id: lintr
- id: readme-rmd-rendered
- id: parsable-R
Expand All @@ -49,19 +51,19 @@ repos:
- id: deps-in-desc
- id: pkgdown
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.2.3
rev: v5.0.0
hooks:
- id: check-added-large-files
args: ['--maxkb=200']
- id: file-contents-sorter
files: '^\.Rbuildignore$'
- id: end-of-file-fixer
exclude: '\.Rd'
- repo: https://github.com/pre-commit-ci/pre-commit-ci-config
rev: v1.5.1
hooks:
#- repo: https://github.com/pre-commit-ci/pre-commit-ci-config
# rev: v1.5.1
# hooks:
# Only required when https://pre-commit.ci is used for config validation
- id: check-pre-commit-ci-config
#- id: check-pre-commit-ci-config
- repo: local
hooks:
- id: forbid-to-commit
Expand Down
6 changes: 5 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ LazyDataCompression: xz
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
Suggests:
stringi
httr2,
pdftools,
stringi,
usethis,
xml2
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# Generated by roxygen2: do not edit by hand

Loading

0 comments on commit d3b8ae3

Please sign in to comment.