d9165013bc
- update to 3.8.0: * Implement health checks for language: r so environments are recreated if the system version of R changes.
Dirk Mueller2024-08-05 18:59:06 +00:00
caec4d501c
Accepting request 1179070 from devel:languages:python
Ana Guerrero2024-06-07 13:04:09 +00:00
20fdffc6c2
- update to 3.7.1: * Fix language: rust default language version check when rust-toolchain.toml is present.
Dirk Mueller2024-06-06 19:37:51 +00:00
a7cdf412f0
Accepting request 1161391 from devel:languages:python
Ana Guerrero2024-03-25 20:12:40 +00:00
317de84d7a
- 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.
Dirk Mueller2024-03-25 13:02:10 +00:00
adb87316e3
Accepting request 1152925 from devel:languages:python
Ana Guerrero2024-02-28 18:47:45 +00:00
27c864f3f9
Accepting request 1152469 from home:bnavigator:branches:devel:languages:python
Markéta Machová2024-02-28 12:57:18 +00:00
418ed5714c
- 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.
Dirk Mueller2023-01-02 20:20:28 +00:00
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.
Dirk Mueller2022-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
Steve Kowalik2022-01-11 01:38:20 +00:00