diff --git a/DESCRIPTION b/DESCRIPTION index 95585874c..1ba55e09e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: precommit Title: Pre-Commit Hooks -Version: 0.3.0.9002 +Version: 0.3.1 Author: Lorenz Walthert Maintainer: Lorenz Walthert Description: Useful git hooks for R building on top of the multi-language diff --git a/NEWS.md b/NEWS.md index 02bb62273..d6c9b1d4f 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,19 +4,27 @@ editor_options: wrap: 72 --- -# precommit v0.3.0.9000 +# precommit v0.3.1 -- Ensure sorting for `spell-check` hook is case-insensitive on all - operating systems. This may re-order your whole `inst/WORDLIST` - (#405). +**User visible changes** + +- `.pre-commit-config.yaml` templates now contain hook to validate the + [pre-commit.ci](https://pre-commit.ci) configuration (#407). - {git2r} is no longer needed for user side (#417). + +**Bug fixes** + - Fix bug that prevented pkg load outside directories with precommit files (@mpadge, #413). +- Ensure sorting for `spell-check` hook is case-insensitive on all + operating systems. This may re-order your whole `inst/WORDLIST` + (#405). - hook `forbid-to-commit` in template `.pre-commit-config.yaml` has now the correct `exclude-files` regular expression to ignore `.csv`, `.RData`, `.Rds`, `.rds` and `.Rhistory` (#410). -- `.pre-commit-config.yaml` templates now contain hook to validate the - [pre-commit.ci](https://pre-commit.ci) configuration (#407). + +**Internals** + - `options(install.packages.compile.from.source = "never")` is used in the CI to avoid failing builds due to missing build-time deps (#412). diff --git a/cran-comments.md b/cran-comments.md index 62d91e636..a8653e10c 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,4 +1,4 @@ -This is a re-submission to failing tests caused by a roxygen 7.2.0. +This is a submission due to user regressions. ## Test environments diff --git a/inst/pre-commit-config-pkg.yaml b/inst/pre-commit-config-pkg.yaml index a3cb19710..21de4838a 100644 --- a/inst/pre-commit-config-pkg.yaml +++ b/inst/pre-commit-config-pkg.yaml @@ -2,7 +2,7 @@ # R specific hooks: https://github.com/lorenzwalthert/precommit repos: - repo: https://github.com/lorenzwalthert/precommit - rev: v0.3.0.9001 + rev: v0.3.1 hooks: - id: style-files args: [--style_pkg=styler, --style_fun=tidyverse_style] diff --git a/inst/pre-commit-config-proj.yaml b/inst/pre-commit-config-proj.yaml index 679b2ed84..68b2ec0ba 100644 --- a/inst/pre-commit-config-proj.yaml +++ b/inst/pre-commit-config-proj.yaml @@ -2,7 +2,7 @@ # R specific hooks: https://github.com/lorenzwalthert/precommit repos: - repo: https://github.com/lorenzwalthert/precommit - rev: v0.3.0.9001 + rev: v0.3.1 hooks: - id: style-files args: [--style_pkg=styler, --style_fun=tidyverse_style]