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

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