14
0
Commit Graph

10 Commits

Author SHA256 Message Date
a9a6c08f03 - update to 2.17.0:
- add warnings for regexes containing `[\\/]`.
  - upgrade supported ruby versions.
  - allow `language: conda` to use `mamba` or `micromamba` via
    `PRE_COMMIT_USE_MAMBA=1` or `PRE_COMMIT_USE_MICROMAMBA=1` respectively.
  - display `git --version` in error report.
  - add `language: lua` as a supported language.
  - temporarily add `setuptools` to the zipapp.
  - use `go install` instead of `go get` for go 1.18+ support.
  - fix `language: r` with a local renv and `RENV_PROJECT` set.
  - forbid overriding `entry` in `language: meta` hooks which breaks them.
  - always use `#!/bin/sh` on windows for hook script.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=15
2022-03-26 19:50:57 +00:00
e397b774d0 - Update to 2.16.0:
* add warning for regexes containing [\/] or [/\\].
  * move hook template back to bash resolving shebang-portability issues.
  * add support for fail_fast at the individual hook level.
  * allow passthrough of GIT_CONFIG_KEY_*, GIT_CONFIG_VALUE_*, and GIT_CONFIG_COUNT.
  * fix temporary file stashing with for submodule.recurse=1.
  * ban broken importlib-resources versions.
  * replace exit(...) with raise SystemExit(...) for portability.
  * add support for hooks written in dart.
  * add support for post-rewrite hooks.
  * fix check-useless-excludes with exclude matching broken symlink.
  * eliminate duplicate mutable sha warning messages for pre-commit autoupdate.
  * fix force-push of disparate histories using git>=2.28.
  * fix check-useless-excludes and check-hooks-apply matching non-root .pre-commit-config.yaml.
  * pre-commit-ci/issues#84 issue by @billsioros.
  * During pre-push hooks, expose local branch as PRE_COMMIT_LOCAL_BRANCH.
  * Improve container id detection for docker-beside-docker with custom hostname.
  * Read legacy hooks in an encoding-agnostic way.
  * Fix execution of docker hooks for docker-in-docker.
  * Attempt to mount from host with docker-in-docker.
  * Enable repo: local for r hooks.
  * Avoid warnings with mismatched renv versions.
  * Fix race condition when stashing files in multiple parallel invocations
  * pre-commit/mirrors-prettier#7 issue by @DeltaXWizard.
  * Fix permissions of root folder in ruby archives.
  * Fix r hooks when hook repo is a package
  * Add support for post-merge hook.
  * Add r as a supported hook language.
  * Fix installation of local golang repositories for go 1.16.
  * Fix language: golang repositories containing recursive submodules

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=14
2022-01-11 01:38:20 +00:00
f353981562 Accepting request 872813 from home:robert_munteanu:branches:devel:languages:python
Fix build for multiple python flavors

OBS-URL: https://build.opensuse.org/request/show/872813
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=12
2021-02-16 13:34:57 +00:00
Tomáš Chvátal
cc733579a7 Accepting request 830484 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/830484
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=10
2020-08-29 18:38:24 +00:00
Tomáš Chvátal
48f5e847a5 Accepting request 821705 from home:jayvdb:branches:devel:languages:python
- Ignore one test failure to fix builds
- Set LANG to fix openSUSE 15.1 builds
- specfile:
  * update version requirement for virtualenv
- update to version 2.6.0:

OBS-URL: https://build.opensuse.org/request/show/821705
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=8
2020-07-19 05:17:11 +00:00
Tomáš Chvátal
d95d85e53c 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
2020-05-04 05:27:19 +00:00
Tomáš Chvátal
e9b367ec9a Accepting request 786145 from home:mcalabkova:branches:devel:languages:python
- Update to 2.2.0
  * 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 
    requires python 3.6+.
  * Removed pcre language, use pygrep instead. 
  * Don't filter GIT_SSL_NO_VERIFY from environment when cloning.
  * Replace aspy.yaml with sort_keys=False. 
  * Add support for perl. 
  * Fix python healthy() check when python executable goes missing. 
  * Many more fixes and improvements, see upstream changelog

OBS-URL: https://build.opensuse.org/request/show/786145
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=4
2020-03-18 11:56:14 +00:00
89f4c78f62 Accepting request 753899 from devel:languages:python
Initial submission of the package.

OBS-URL: https://build.opensuse.org/request/show/753899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=1
2019-12-04 12:55:25 +00:00
aaf0360417 Fix sed call
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=2
2019-12-04 07:06:40 +00:00
90562ae8a2 Accepting request 753196 from home:mcepl:branches:devel:languages:python
First submit.

OBS-URL: https://build.opensuse.org/request/show/753196
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=1
2019-12-03 12:30:51 +00:00