14
0

- update to 2.21.0:

* Require new-enough virtualenv to prevent 3.10 breakage
  * Respect aliases with `SKIP` for environment install.
  * Allow `pre-commit run --files` against unmerged paths.
  * Also apply regex warnings to `repo: local` hooks.
  * `rust` is now a "first class" language -- supporting `language_version`
  * `r` now uses more-reliable binary installation.
  * `GIT_ALLOW_PROTOCOL` is now passed through for git operations.
  * `GIT_ASKPASS` is now passed through for git operations.
  * Remove `toml` dependency by using `cargo add` directly.
  * Support `dotnet` hooks which have dotted prefixes.
  * ### Fixes
  * Properly adjust `--commit-msg-filename` if run from a sub directory.
  * Simplify `--intent-to-add` detection by using `git diff`.
  * Fix `R.exe` selection on windows.
  * Skip default `nuget` source when installing `dotnet` packages.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=25
This commit is contained in:
2023-01-02 20:20:28 +00:00
committed by Git OBS Bridge
parent e7b761404a
commit 418ed5714c
4 changed files with 27 additions and 6 deletions

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Mon Jan 2 20:10:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.21.0:
* Require new-enough virtualenv to prevent 3.10 breakage
* Respect aliases with `SKIP` for environment install.
* Allow `pre-commit run --files` against unmerged paths.
* Also apply regex warnings to `repo: local` hooks.
* `rust` is now a "first class" language -- supporting `language_version`
* `r` now uses more-reliable binary installation.
* `GIT_ALLOW_PROTOCOL` is now passed through for git operations.
* `GIT_ASKPASS` is now passed through for git operations.
* Remove `toml` dependency by using `cargo add` directly.
* Support `dotnet` hooks which have dotted prefixes.
* ### Fixes
* Properly adjust `--commit-msg-filename` if run from a sub directory.
* Simplify `--intent-to-add` detection by using `git diff`.
* Fix `R.exe` selection on windows.
* Skip default `nuget` source when installing `dotnet` packages.
-------------------------------------------------------------------
Mon Nov 28 07:01:26 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>