Revisions of python-pre-commit
Ana Guerrero (anag+factory)
accepted
request 1218114
from
Dirk Mueller (dirkmueller)
(revision 22)
- update to 4.0.1: * Fix `pre-commit migrate-config` for unquoted deprecated stages names with purelib `pyyaml`. * Improve `pre-commit migrate-config` to handle more yaml formats. * Handle `stages` deprecation in `pre-commit migrate-config`. * Upgrade `ruby-build`. * Add "sensible regex" warnings to `repo: meta`. * Add warnings for deprecated `stages` (`commit` -> `pre- commit`, `push` -> `pre-push`, `merge-commit` -> `pre-merge-commit`). * `language: python_venv` has been removed -- use `language: python` instead.
Dominique Leuenberger (dimstar_suse)
accepted
request 1191754
from
Dirk Mueller (dirkmueller)
(revision 21)
- update to 3.8.0: * Implement health checks for `language: r` so environments are recreated if the system version of R changes.
Ana Guerrero (anag+factory)
accepted
request 1179070
from
Dirk Mueller (dirkmueller)
(revision 20)
- update to 3.7.1: * Fix `language: rust` default language version check when `rust-toolchain.toml` is present.
Ana Guerrero (anag+factory)
accepted
request 1161391
from
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 (anag+factory)
accepted
request 1152925
from
Markéta Machová (mcalabkova)
(revision 18)
Dominique Leuenberger (dimstar_suse)
accepted
request 1136657
from
Dirk Mueller (dirkmueller)
(revision 17)
Ana Guerrero (anag+factory)
accepted
request 1133197
from
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 (dimstar_suse)
accepted
request 1121650
from
Ondřej Súkup (mimi_vx)
(revision 14)
Dominique Leuenberger (dimstar_suse)
accepted
request 1046303
from
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 (dimstar_suse)
accepted
request 1038582
from
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 (dimstar_suse)
accepted
request 980049
from
Markéta Machová (mcalabkova)
(revision 10)
Dominique Leuenberger (dimstar_suse)
accepted
request 967528
from
Markéta Machová (mcalabkova)
(revision 9)
Dominique Leuenberger (dimstar_suse)
accepted
request 965080
from
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 (dimstar_suse)
accepted
request 945468
from
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 (dimstar_suse)
accepted
request 830498
from
Tomáš Chvátal (scarabeus_iv)
(revision 5)
Dominique Leuenberger (dimstar_suse)
accepted
request 821709
from
Tomáš Chvátal (scarabeus_iv)
(revision 4)
Dominique Leuenberger (dimstar_suse)
accepted
request 799932
from
Tomáš Chvátal (scarabeus_iv)
(revision 3)
Displaying revisions 1 - 20 of 22