Closed renovate[bot] closed 3 years ago
Merging #24 (d53c6b3) into master (df20dae) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #24 +/- ##
=======================================
Coverage 98.60% 98.60%
=======================================
Files 2 2
Lines 215 215
=======================================
Hits 212 212
Misses 3 3
Continue to review full report at Codecov.
Legend - Click here to learn more
Ξ = absolute <relative> (impact)
,ΓΈ = not affected
,? = missing data
Powered by Codecov. Last update df20dae...d53c6b3. Read the comment docs.
This PR contains the following updates:
v1.17.0
->v1.21.0
Release Notes
pre-commit/pre-commit
### [`v1.21.0`](https://togithub.com/pre-commit/pre-commit/releases/v1.21.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v1.20.0...v1.21.0) ##### Features - Add `conda` as a new `language`. - [#1204](https://togithub.com/pre-commit/pre-commit/issues/1204) issue by [@xhochy](https://togithub.com/xhochy). - [#1232](https://togithub.com/pre-commit/pre-commit/issues/1232) PR by [@xhochy](https://togithub.com/xhochy). - Add top-level configuration `files` for file selection. - [#1220](https://togithub.com/pre-commit/pre-commit/issues/1220) issue by [@TheButlah](https://togithub.com/TheButlah). - [#1248](https://togithub.com/pre-commit/pre-commit/issues/1248) PR by [@asottile](https://togithub.com/asottile). - Rework `--verbose` / `verbose` to be more consistent with normal runs. - [#1249](https://togithub.com/pre-commit/pre-commit/issues/1249) PR by [@asottile](https://togithub.com/asottile). - Add support for the `pre-merge-commit` git hook. - [#1210](https://togithub.com/pre-commit/pre-commit/issues/1210) PR by [@asottile](https://togithub.com/asottile). - this requires git 2.24+. - Add `pre-commit autoupdate --freeze` which produces "frozen" revisions. - [#1068](https://togithub.com/pre-commit/pre-commit/issues/1068) issue by [@SkypLabs](https://togithub.com/SkypLabs). - [#1256](https://togithub.com/pre-commit/pre-commit/issues/1256) PR by [@asottile](https://togithub.com/asottile). - Display hook runtime duration when run with `--verbose`. - [#1144](https://togithub.com/pre-commit/pre-commit/issues/1144) issue by [@potiuk](https://togithub.com/potiuk). - [#1257](https://togithub.com/pre-commit/pre-commit/issues/1257) PR by [@asottile](https://togithub.com/asottile). ##### Fixes - Produce better error message when erroneously running inside of `.git`. - [#1219](https://togithub.com/pre-commit/pre-commit/issues/1219) issue by [@Nusserdt](https://togithub.com/Nusserdt). - [#1224](https://togithub.com/pre-commit/pre-commit/issues/1224) PR by [@asottile](https://togithub.com/asottile). - Note: `git` has since fixed this bug: [git/git@`36fd304`](https://togithub.com/git/git/commit/36fd304d) - Produce better error message when hook installation fails. - [#1250](https://togithub.com/pre-commit/pre-commit/issues/1250) issue by [@asottile](https://togithub.com/asottile). - [#1251](https://togithub.com/pre-commit/pre-commit/issues/1251) PR by [@asottile](https://togithub.com/asottile). - Fix cloning when `GIT_SSL_CAINFO` is necessary. - [#1253](https://togithub.com/pre-commit/pre-commit/issues/1253) issue by [@igankevich](https://togithub.com/igankevich). - [#1254](https://togithub.com/pre-commit/pre-commit/issues/1254) PR by [@igankevich](https://togithub.com/igankevich). - Fix `pre-commit try-repo` for bare, on-disk repositories. - [#1258](https://togithub.com/pre-commit/pre-commit/issues/1258) issue by [@webknjaz](https://togithub.com/webknjaz). - [#1259](https://togithub.com/pre-commit/pre-commit/issues/1259) PR by [@asottile](https://togithub.com/asottile). - Add some whitespace to `pre-commit autoupdate` to improve terminal autolink. - [#1261](https://togithub.com/pre-commit/pre-commit/issues/1261) issue by [@yhoiseth](https://togithub.com/yhoiseth). - [#1262](https://togithub.com/pre-commit/pre-commit/issues/1262) PR by [@yhoiseth](https://togithub.com/yhoiseth). ##### Misc. - Minor code documentation updates. - [#1200](https://togithub.com/pre-commit/pre-commit/issues/1200) PR by [@ryanrhee](https://togithub.com/ryanrhee). - [#1201](https://togithub.com/pre-commit/pre-commit/issues/1201) PR by [@ryanrhee](https://togithub.com/ryanrhee). ### [`v1.20.0`](https://togithub.com/pre-commit/pre-commit/releases/v1.20.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v1.19.0...v1.20.0) ##### Features - Allow building newer versions of `ruby`. - [#1193](https://togithub.com/pre-commit/pre-commit/issues/1193) issue by [@choffee](https://togithub.com/choffee). - [#1195](https://togithub.com/pre-commit/pre-commit/issues/1195) PR by [@choffee](https://togithub.com/choffee). - Bump versions reported in `pre-commit sample-config`. - [#1197](https://togithub.com/pre-commit/pre-commit/issues/1197) PR by [@asottile](https://togithub.com/asottile). ##### Fixes - Fix rare race condition with multiple concurrent first-time runs. - [#1192](https://togithub.com/pre-commit/pre-commit/issues/1192) issue by [@raholler](https://togithub.com/raholler). - [#1196](https://togithub.com/pre-commit/pre-commit/issues/1196) PR by [@asottile](https://togithub.com/asottile). ### [`v1.19.0`](https://togithub.com/pre-commit/pre-commit/releases/v1.19.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v1.18.3...v1.19.0) ##### Features - Allow `--hook-type` to be specified multiple times. - example: `pre-commit install --hook-type pre-commit --hook-type pre-push` - [#1139](https://togithub.com/pre-commit/pre-commit/issues/1139) issue by [@MaxymVlasov](https://togithub.com/MaxymVlasov). - [#1145](https://togithub.com/pre-commit/pre-commit/issues/1145) PR by [@asottile](https://togithub.com/asottile). - Include more version information in crash logs. - [#1142](https://togithub.com/pre-commit/pre-commit/issues/1142) by [@marqueewinq](https://togithub.com/marqueewinq). - Hook colors are now passed through on platforms which support `pty`. - [#1169](https://togithub.com/pre-commit/pre-commit/issues/1169) by [@asottile](https://togithub.com/asottile). - pre-commit now uses `importlib.metadata` directly when running in python 3.8 - [#1176](https://togithub.com/pre-commit/pre-commit/issues/1176) by [@asottile](https://togithub.com/asottile). - Normalize paths to forward slash separators on windows. - makes it easier to match paths with `files:` regex - avoids some quoting bugs in shell-based hooks - [#1173](https://togithub.com/pre-commit/pre-commit/issues/1173) issue by [@steigenTI](https://togithub.com/steigenTI). - [#1179](https://togithub.com/pre-commit/pre-commit/issues/1179) PR by [@asottile](https://togithub.com/asottile). ##### Fixes - Remove some extra newlines from error messages. - [#1148](https://togithub.com/pre-commit/pre-commit/issues/1148) by [@asottile](https://togithub.com/asottile). - When a hook is not executable it now reports `not executable` instead of `not found`. - [#1159](https://togithub.com/pre-commit/pre-commit/issues/1159) issue by [@nixjdm](https://togithub.com/nixjdm). - [#1161](https://togithub.com/pre-commit/pre-commit/issues/1161) PR by [@WillKoehrsen](https://togithub.com/WillKoehrsen). - Fix interleaving of stdout / stderr in hooks. - [#1168](https://togithub.com/pre-commit/pre-commit/issues/1168) by [@asottile](https://togithub.com/asottile). - Fix python environment `healthy()` check when current working directory contains modules which shadow standard library names. - issue by [@vwhsu92](https://togithub.com/vwhsu92). - [#1185](https://togithub.com/pre-commit/pre-commit/issues/1185) PR by [@asottile](https://togithub.com/asottile). ##### Updating - Regexes handling both backslashes and forward slashes for directory separators now only need to handle forward slashes. ### [`v1.18.3`](https://togithub.com/pre-commit/pre-commit/releases/v1.18.3) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v1.18.2...v1.18.3) ##### Fixes - Fix `node_modules` plugin installation on windows - [#1123](https://togithub.com/pre-commit/pre-commit/issues/1123) issue by [@henryykt](https://togithub.com/henryykt). - [#1122](https://togithub.com/pre-commit/pre-commit/issues/1122) PR by [@henryykt](https://togithub.com/henryykt). ### [`v1.18.2`](https://togithub.com/pre-commit/pre-commit/releases/v1.18.2) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v1.18.1...v1.18.2) ##### Fixes - Make default python lookup more deterministic to avoid redundant installs - [#1117](https://togithub.com/pre-commit/pre-commit/issues/1117) PR by [@scop](https://togithub.com/scop). ### [`v1.18.1`](https://togithub.com/pre-commit/pre-commit/releases/v1.18.1) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v1.18.0...v1.18.1) ##### Fixes - Fix installation of `rust` hooks with new `cargo` - [#1112](https://togithub.com/pre-commit/pre-commit/issues/1112) issue by [@zimbatm](https://togithub.com/zimbatm). - [#1113](https://togithub.com/pre-commit/pre-commit/issues/1113) PR by [@zimbatm](https://togithub.com/zimbatm). ### [`v1.18.0`](https://togithub.com/pre-commit/pre-commit/releases/v1.18.0) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v1.17.0...v1.18.0) ##### Features - Use the current running executable if it matches the requested `language_version` - [#1062](https://togithub.com/pre-commit/pre-commit/issues/1062) PR by [@asottile](https://togithub.com/asottile). - Print the stage when a hook is not found - [#1078](https://togithub.com/pre-commit/pre-commit/issues/1078) issue by [@madkinsz](https://togithub.com/madkinsz). - [#1079](https://togithub.com/pre-commit/pre-commit/issues/1079) PR by [@madkinsz](https://togithub.com/madkinsz). - `pre-commit autoupdate` now supports non-`master` default branches - [#1089](https://togithub.com/pre-commit/pre-commit/issues/1089) PR by [@asottile](https://togithub.com/asottile). - Add `pre-commit init-templatedir` which makes it easier to automatically enable `pre-commit` in cloned repositories. - [#1084](https://togithub.com/pre-commit/pre-commit/issues/1084) issue by [@ssbarnea](https://togithub.com/ssbarnea). - [#1090](https://togithub.com/pre-commit/pre-commit/issues/1090) PR by [@asottile](https://togithub.com/asottile). - [#1107](https://togithub.com/pre-commit/pre-commit/issues/1107) PR by [@asottile](https://togithub.com/asottile). - pre-commit's color can be controlled using `PRE_COMMIT_COLOR={auto,always,never}` - [#1073](https://togithub.com/pre-commit/pre-commit/issues/1073) issue by [@saper](https://togithub.com/saper). - [#1092](https://togithub.com/pre-commit/pre-commit/issues/1092) PR by [@geieredgar](https://togithub.com/geieredgar). - [#1098](https://togithub.com/pre-commit/pre-commit/issues/1098) PR by [@geieredgar](https://togithub.com/geieredgar). - pre-commit's color can now be disabled using `TERM=dumb` - [#1073](https://togithub.com/pre-commit/pre-commit/issues/1073) issue by [@saper](https://togithub.com/saper). - [#1103](https://togithub.com/pre-commit/pre-commit/issues/1103) PR by [@asottile](https://togithub.com/asottile). - pre-commit now supports `docker` based hooks on windows - [#1072](https://togithub.com/pre-commit/pre-commit/issues/1072) by [@cz-fish](https://togithub.com/cz-fish). - [#1093](https://togithub.com/pre-commit/pre-commit/issues/1093) PR by [@geieredgar](https://togithub.com/geieredgar). ##### Fixes - Fix shallow clone - [#1077](https://togithub.com/pre-commit/pre-commit/issues/1077) PR by [@asottile](https://togithub.com/asottile). - Fix autoupdate version flip flop when using shallow cloning - [#1076](https://togithub.com/pre-commit/pre-commit/issues/1076) issue by [@mxr](https://togithub.com/mxr). - [#1088](https://togithub.com/pre-commit/pre-commit/issues/1088) PR by [@asottile](https://togithub.com/asottile). - Fix autoupdate when the current revision is invalid - [#1088](https://togithub.com/pre-commit/pre-commit/issues/1088) PR by [@asottile](https://togithub.com/asottile). ##### Misc. - Replace development instructions with `tox --devenv ...` - [#1032](https://togithub.com/pre-commit/pre-commit/issues/1032) issue by [@yoavcaspi](https://togithub.com/yoavcaspi). - [#1067](https://togithub.com/pre-commit/pre-commit/issues/1067) PR by [@asottile](https://togithub.com/asottile).Configuration
π Schedule: At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β»οΈ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.