Skip to content

Commit

Permalink
Merge pull request #420 from lorenzwalthert/rc-v0.3.1
Browse files Browse the repository at this point in the history
Release candidate v0.3.1
  • Loading branch information
lorenzwalthert committed Jun 15, 2022
2 parents 4ce256b + c6bbb15 commit 6d170d1
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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 <lorenz.walthert@icloud.com>
Description: Useful git hooks for R building on top of the multi-language
Expand Down
20 changes: 14 additions & 6 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion inst/pre-commit-config-pkg.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.3.0.9001
rev: v0.3.1
hooks:
- id: style-files
args: [--style_pkg=styler, --style_fun=tidyverse_style]
Expand Down
2 changes: 1 addition & 1 deletion inst/pre-commit-config-proj.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.3.0.9001
rev: v0.3.1
hooks:
- id: style-files
args: [--style_pkg=styler, --style_fun=tidyverse_style]
Expand Down

0 comments on commit 6d170d1

Please sign in to comment.