Skip to content

Commit

Permalink
Removes R pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
danmilne1 committed Jan 31, 2024
1 parent b99618f commit 40c3654
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions {{ cookiecutter.repo_name }}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,27 +74,3 @@ repos:
name: bandit - Checks for vulnerabilities
args: ["-c", "pyproject.toml"]
additional_dependencies: ["bandit[toml]"]
{% if cookiecutter.using_R == "Yes" %}
# R specific hooks: https://github.com/lorenzwalthert/precommit
- repo: https://github.com/lorenzwalthert/precommit
rev: v0.1.3
hooks:
- id: style-files
name: Style files using styler
args: [ --style_pkg=styler, --style_fun=tidyverse_style ]
- id: roxygenize
name: Run roxygen2::roxygenize()
# codemeta must be above use-tidy-description when both are used
# - id: codemeta-description-updated
- id: use-tidy-description
name: Run sethis::use_tidy_description()
- id: lintr
name: Run lintr::lint()
exclude: renv/activate.R
- id: readme-rmd-rendered
name: Check README.Rmd has been rendered to README.md
- id: parsable-R
name: Check for valid R code using the parse() function
- id: no-browser-statement
name: Check for accidential browser() statements
{% endif -%}

0 comments on commit 40c3654

Please sign in to comment.