Skip to content

Commit e9a8daa

Browse files
update news
1 parent 19d0602 commit e9a8daa

File tree

2 files changed

+36
-29
lines changed

2 files changed

+36
-29
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ repos:
117117
- docopt
118118
- fs
119119
- yaml
120-
- purrr
121-
- rlang
120+
- purrr
121+
- glue
122+
- rlang
122123
- git2r
123124
- desc
124-
- glue
125125
stages: [commit, push]
126126
- id: hooks-config-to-inst
127127
name: hooks-config-to-inst

NEWS.md

+33-26
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,32 @@
1-
---
2-
editor_options:
3-
markdown:
4-
wrap: 72
5-
---
6-
# precommit v0.3.2.9015
1+
<!-- NEWS.md is maintained by https://fledge.cynkra.com, contributors should not edit this file -->
2+
3+
# precommit 0.3.2.9020
4+
5+
- Make sorting consistent with spelling::update_wordlist (#514).
6+
- Bump actions/checkout from 3 to 4 (#509).
7+
- Discover and check for rogue print statements (#505).
8+
- Use python 3.10 by default for conda envs(#477).
9+
- Hook dependencies update (#503, #506 #508, #513).
10+
11+
12+
# precommit 0.3.2.9015
713

814
* Update dependencies.
915
* Refactored hook dependency update scripts.
1016
* Please see tag diff for more details.
1117

12-
# precommit v0.3.2.9013
18+
# precommit 0.3.2.9013
1319

1420
* Don't depend on dev version of styler to avoid GitHub rate limit hit (#486).
1521

16-
# precommit v0.3.2.9009
22+
# precommit 0.3.2.9009
1723

1824
* add Posit CRAN mirror to ensure macOS binary installs are possible (#488).
1925
* use `ubuntu-latest` instead of pinned version for tests (#481).
2026
* correct typo (#465) and fix error message (#470).
2127
* remove {digest} dependency (#471).
2228

23-
# precommit v0.3.2.9007 (2022-12-26)
29+
# precommit 0.3.2.9007 (2022-12-26)
2430

2531
- roxygenize cache invalidation is functional again (#464).
2632
- ensure local and remote pre-commit execution are the same for this repo
@@ -30,7 +36,7 @@ editor_options:
3036
- improve spelling (#453).
3137

3238

33-
# precommit v0.3.2.9003 (2022-12-16)
39+
# precommit 0.3.2.9003 (2022-12-16)
3440

3541
- new hook `pkgdown` to emulate a {pkgdown} build for reference and
3642
articles (#393).
@@ -40,15 +46,16 @@ editor_options:
4046
Defaults to `.` since for most R package git repos, the git and R package
4147
root coincide (#432, #438).
4248
- `style-files` now supports styling of R code in Quarto docs (#449).
43-
# precommit v0.3.2.9000
49+
50+
# precommit 0.3.2.9000
4451

4552
- `use_ci()` is now documented to take `NA`, not `NULL` for argument
4653
`ci` (#431).
4754
- `deps-in-desc`supports a `root` argument that specifies the directory in
4855
the git repo that contains the R package. Defaults to `.` since for most R
4956
package git repos, the git and R package root coincide.
5057

51-
# precommit v0.3.2
58+
# precommit 0.3.2
5259

5360
- `parsable-R` hook now gives more context on where and how parsing
5461
fails (#423).
@@ -58,7 +65,7 @@ editor_options:
5865
Thanks to [\@danielinteractive](https://github.com/danielinteractive),
5966
[\@jonocarroll](https://github.com/jonocarroll) for their contributions.
6067

61-
# precommit v0.3.1
68+
# precommit 0.3.1
6269

6370
**User visible changes**
6471

@@ -88,7 +95,7 @@ Thanks to [\@danielinteractive](https://github.com/danielinteractive),
8895
Thanks to [\@danielinteractive](https://github.com/danielinteractive)
8996
and [\@mpadge](https://github.com/mpadge) for their contributions.
9097

91-
# precommit v0.3.0
98+
# precommit 0.3.0
9299

93100
**API changes**
94101

@@ -144,7 +151,7 @@ Thanks to all people who contributed to this release:
144151
[\@RoyalTS](https://github.com/RoyalTS), and
145152
[\@smingerson](https://github.com/smingerson).
146153

147-
# precommit v0.2.2
154+
# precommit 0.2.2
148155

149156
This is a maintenance release on the request of CRAN (#337) and to
150157
improve experience with the `language: r` switch conducted in `v0.2.0`.
@@ -179,7 +186,7 @@ Thanks to all people who contributed to this release:
179186
[\@pat-s](https://github.com/pat-s), and
180187
[\@smingerson](https://github.com/smingerson).
181188

182-
# precommit v0.2.0
189+
# precommit 0.2.0
183190

184191
This version marks the switch to
185192
[`language: r`](https://pre-commit.com/#r) of all existing hooks. This
@@ -319,7 +326,7 @@ For previous versions of `NEWS.md` with news bullet per patch release,
319326
see the [latest `NEWS.md` before
320327
gathering](https://github.com/lorenzwalthert/precommit/blob/7a8740714ab868d20e981b8b80898d7be050e34e/NEWS.md).
321328

322-
# precommit v0.1.3
329+
# precommit 0.1.3
323330

324331
This is mainly a CRAN maintenance release because of #201 and includes
325332
some bug fixes and no API changes.
@@ -344,31 +351,31 @@ A big hand to all the contributors of this release:
344351
`^\\.pre-commit-config.yaml$`from `.Rbuildignore` and does not show
345352
a prompt (#199).
346353

347-
# precommit v0.1.2
354+
# precommit 0.1.2
348355

349356
Initial CRAN release. See <https://lorenzwalthert.github.io/precommit/>.
350357

351-
# precommit v0.0.0.9049
358+
# precommit 0.0.0.9049
352359

353360
- Roxygen hook cache only includes files that are part of the index
354361
and will hence be able to use the cache in cases it was previously
355362
invalidated without need (#171).
356363
- styler hook should fail if styling any file fails (#174).
357364

358-
# precommit v0.0.0.9048
365+
# precommit 0.0.0.9048
359366

360367
- Don't allow legacy hooks by default, delete README hook from usethis
361368
informatively (#167).
362369

363-
# precommit v0.0.0.9046
370+
# precommit 0.0.0.9046
364371

365372
**Major Changes**
366373

367374
- `use_precommit()` gains new `install_hooks = TRUE` parameter. Now
368375
all hook environments defined in yaml config are by default
369376
installed in advance. (#163)
370377

371-
# precommit v0.0.0.9044
378+
# precommit 0.0.0.9044
372379

373380
**Breaking Changes**
374381

@@ -389,7 +396,7 @@ Initial CRAN release. See <https://lorenzwalthert.github.io/precommit/>.
389396
- `.Renviron`, `.Rrofile`, `.RData`, `.feather` and `.Rds` is now also
390397
excluded from the spell checking hook.
391398

392-
# precommit v0.0.0.9042
399+
# precommit 0.0.0.9042
393400

394401
**Breaking Changes**
395402

@@ -418,19 +425,19 @@ Additional breaking changes are:
418425
regex](https://lorenzwalthert.github.io/precommit/articles/available-hooks.html#spell-check)
419426
(#153).
420427

421-
# precommit v0.0.0.9040
428+
# precommit 0.0.0.9040
422429

423430
- roxygenize hook now only ran when `git diff --cached` contains
424431
roxygen comments (#151).
425432
- conda is a suggested dependency now, so those who choose a different
426433
installation method have a more lightweight dependency graph (#136).
427434
- Use more thoughtful order for hooks, between pkg and project (#142).
428435

429-
# precommit v0.0.0.9031 up to v0.0.0.9038
436+
# precommit 0.0.0.9038
430437

431438
Test release process.
432439

433-
# precommit v0.0.0.9030
440+
# precommit 0.0.0.9030
434441

435442
- auto-detect pre-commit executable when installed via pip for Linux
436443
(#120), macOS (#131).

0 commit comments

Comments
 (0)