14
0

Accepting request 1161391 from devel:languages:python

- update to 3.7.0:
  * Use a tty for `docker` and `docker_image` hooks when
    `--color` is specified.
  * Fix `fail_fast` for individual hooks stopping when previous
    hooks had failed.
  * The per-hook behaviour of `fail_fast` was fixed.  If you want
    the pre-3.7.0 behaviour, add `fail_fast: true` to all hooks
    before the last `fail_fast` hook.

- Specify a Group tag for Leap and SUSE Linux Enterprise
  CPAN initialisation also on SUSE Linux Enterprise.
- Fix build for multiple python flavors
  * Add conda as a new language.
  * Remove python2 / python3.5 support. Note that pre-commit still
    supports running hooks written in python2, but pre-commit itself
  * Removed pcre language, use pygrep instead.
  * Replace aspy.yaml with sort_keys=False.
  * Add support for perl.
  * Fix python healthy() check when python executable goes missing.

OBS-URL: https://build.opensuse.org/request/show/1161391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=19
This commit is contained in:
2024-03-25 20:12:40 +00:00
committed by Git OBS Bridge
4 changed files with 26 additions and 14 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d57327523b671524fe0ee9d6c9fe53e1e2790dee3575a0c39f546c310e481d5
size 269614

3
pre-commit-3.7.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:74157bf77b5a13248960520318c7577745083106f4daafa288ee6e92bb87302c
size 269999

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Mar 25 13:01:46 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.7.0:
* Use a tty for `docker` and `docker_image` hooks when
`--color` is specified.
* Fix `fail_fast` for individual hooks stopping when previous
hooks had failed.
* The per-hook behaviour of `fail_fast` was fixed. If you want
the pre-3.7.0 behaviour, add `fail_fast: true` to all hooks
before the last `fail_fast` hook.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 27 17:36:39 UTC 2024 - Ben Greiner <code@bnavigator.de> Tue Feb 27 17:36:39 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pre-commit Name: python-pre-commit
Version: 3.6.2 Version: 3.7.0
Release: 0 Release: 0
Summary: Multi-language pre-commit hooks Summary: Multi-language pre-commit hooks
License: MIT License: MIT