Revisions of python-pre-commit

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1161391 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 19)
- 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.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1133197 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 16)
- Update to version 3.6.0
  * Features
    + Check minimum_pre_commit_version first when parsing configs.
  * Fixes
    + Fix deprecation warnings for importlib.resources.
    + Fix deprecation warnings for rmtree. (forwarded request 1132881 from theMarix)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1046303 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 13)
- 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1038582 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 12)
- Fix "/usr/bin/env bash" shebang in hook-tmpl file
- Remove python_module macro definition
- Allow file protocol always for git submodule to fix tests
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 965080 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 8)
- 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 945468 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 7)
- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 753899 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 1)
Initial submission of the package.
Displaying all 19 revisions
openSUSE Build Service is sponsored by