14
0

Accepting request 799916 from home:apersaud:branches:devel:languages:python

* added skip_python2 back to spec file

- specfile:
  * be more specific in %files section
- update to version 2.3.0:
  * Features
    + Calculate character width using `east_asian_width` - #1378 PR by
      @sophgn.
    + Use `language_version: system` by default for `node` hooks if
      `node` / `npm` are globally installed.  - #1388 PR by @asottile.
  * Fixes
    + No longer use a hard-coded user id for docker hooks on windows -
      #1371 PR by @killuazhu.
    + Fix colors on windows during `git commit` - #1381 issue by
      @Cielquan.  - #1382 PR by @asottile.
    + Produce readable error message for incorrect argument count to
      `hook-impl` - #1394 issue by @pip9ball.  - #1395 PR by
      @asottile.
    + Fix installations which involve an upgrade of `pip` on windows -
      #1398 issue by @xiaohuazi123.  - #1399 PR by @asottile.
    + Preserve line endings in `pre-commit autoupdate` - #1402 PR by
      @utek.

OBS-URL: https://build.opensuse.org/request/show/799916
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal
2020-05-04 05:27:19 +00:00
committed by Git OBS Bridge
parent e9b367ec9a
commit d95d85e53c
4 changed files with 31 additions and 6 deletions

View File

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

3
pre_commit-2.3.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,28 @@
-------------------------------------------------------------------
Sat May 2 21:01:03 UTC 2020 - Arun Persaud <arun@gmx.de>
- specfile:
* be more specific in %files section
- update to version 2.3.0:
* Features
+ Calculate character width using `east_asian_width` - #1378 PR by
@sophgn.
+ Use `language_version: system` by default for `node` hooks if
`node` / `npm` are globally installed. - #1388 PR by @asottile.
* Fixes
+ No longer use a hard-coded user id for docker hooks on windows -
#1371 PR by @killuazhu.
+ Fix colors on windows during `git commit` - #1381 issue by
@Cielquan. - #1382 PR by @asottile.
+ Produce readable error message for incorrect argument count to
`hook-impl` - #1394 issue by @pip9ball. - #1395 PR by
@asottile.
+ Fix installations which involve an upgrade of `pip` on windows -
#1398 issue by @xiaohuazi123. - #1399 PR by @asottile.
+ Preserve line endings in `pre-commit autoupdate` - #1402 PR by
@utek.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 18 11:26:55 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com> Wed Mar 18 11:26:55 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -18,9 +18,8 @@
%define skip_python2 1 %define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pre-commit Name: python-pre-commit
Version: 2.2.0 Version: 2.3.0
Release: 0 Release: 0
Summary: Multi-language pre-commit hooks Summary: Multi-language pre-commit hooks
License: MIT License: MIT
@@ -91,6 +90,7 @@ git init .
%{_bindir}/pre-commit-validate-manifest %{_bindir}/pre-commit-validate-manifest
%{_bindir}/pre-commit %{_bindir}/pre-commit
%{_bindir}/pre-commit-validate-config %{_bindir}/pre-commit-validate-config
%{python_sitelib}/* %{python_sitelib}/pre_commit
%{python_sitelib}/pre_commit-%{version}-py*.egg-info
%changelog %changelog