Changelog for
python311-pre-commit-3.8.0-lp160.2.1.noarch.rpm :
* Mon Aug 05 2024 Dirk Müller
- update to 3.8.0:
* Implement health checks for `language: r` so environments are recreated if the system version of R changes.
* Thu Jun 06 2024 Dirk Müller - update to 3.7.1:
* Fix `language: rust` default language version check when `rust-toolchain.toml` is present.
* Mon Mar 25 2024 Dirk Müller - 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.
* Tue Feb 27 2024 Ben Greiner - Update to 3.6.2
* Fix building golang hooks during `git commit --all`.- Changelog for 3.6.1
* Remove `PYTHONEXECUTABLE` from environment when running.
* Handle staged-files-only with only a crlf diff.- Build PEP517 wheel- Skip golang test trying to download dependency
* Wed Jan 03 2024 Marina Latini - Specify a Group tag for Leap and SUSE Linux Enterprise
* Wed Jan 03 2024 Marina Latini - Disable Perl install test as that requires network for CPAN initialisation also on SUSE Linux Enterprise.
* Wed Dec 13 2023 Matthias Bach - 3.6.0- 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.
* Mon Nov 27 2023 Matthias Bach - 3.5.0- For Leap, build this on modern Python as 3.6 is no longer supported.- On Leap, use Lua 5.3 as luarocks is not packaged for Lua 5.4.- On Leap, disable Perl install test as that requires network for CPAN initialisation.
* Wed Nov 01 2023 Matthias Fehring - 3.5.0- update to version 3.5.0
* Features + Improve performance of check-hooks-apply and check-useless-excludes.
* Fixes + Use time.monotonic() for more accurate hook timing.
* Migrating + Require npm 6.x+ for language: node hooks.- notable changes since 2.21.0
* Remove pre-commit-validate-config and pre-commit-validate-manifest, use pre-commit validate-config and pre-commit validate-manifest instead.
* See CHANGELOG.md- spec file changes
* Remove python-re-assert and python-toml from the runtime requirements
* Remove python-toml from the build requirements
* Update required python-virtualenv version to 20.10.0
* Rename excluded test est_local_golang_additional_dependencies to test_local_golang_additional_deps
* Exclude new tests that require internet access + test_run_example_executable + test_run_dep + test_perl_additional_dependencies + test_lua_additional_dependencies
* Exclude new tests that have unfulfillable dependencies + test_swift_language
* Add LICENSE and CHANGELOG.md to the files list
* Mon Jan 02 2023 Dirk Müller - 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.
* Mon Nov 28 2022 Daniel Garcia - 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
* Mon Jul 11 2022 Arun Persaud - update to version 2.20.0:
* Features + Expose source and object-name (positional args) of prepare-commit-msg hook as PRE_COMMIT_COMIT_MSG_SOURCE and PRE_COMMIT_COMMIT_OBJECT_NAME. [#2407] PR by AATTM-Whitaker. [#2406] issue by AATTM-Whitaker.
* Fixes + Fix language: ruby installs when --user-install is set in gemrc. [#2394] PR by AATTnarpfel. [#2393] issue by AATTnarpfel. + Adjust pty setup for solaris. [#2390] PR by AATTgaige. [#2389] issue by AATTgaige. + Remove unused --config option from gc, sample-config, validate-config, validate-manifest sub-commands. [#2429] PR by AATTasottile.
* Tue May 31 2022 Arun Persaud - update to version 2.19.0:
* Features + Allow multiple outputs from language: dotnet hooks. + Add more information to healthy() failure. + Upgrade ruby-build. + Add pre-commit validate-config / pre-commit validate-manifest and deprecate pre-commit-validate-config and pre-commit-validate-manifest.
* Fixes + Fix pre-push when pushed ref contains spaces.
* Updating + Change pre-commit-validate-config / pre-commit-validate-manifest to pre-commit validate-config / pre-commit validate-manifest.
* Thu Apr 07 2022 pgajdosAATTsuse.com- version update to 2.18.1 2.18.1 - 2022-04-02 =================== [#]## Fixes - Fix regression for `repo: local` hooks running `python<3.7` - #2324 PR by AATTasottile. 2.18.0 - 2022-04-02 =================== [#]## Features - Keep `GIT_HTTP_PROXY_AUTHMETHOD` in git environ. - #2272 PR by AATTVincentBerthier. - #2271 issue by AATTVincentBerthier. - Support both `cs` and `coursier` executables for coursier hooks. - #2293 PR by AATTHolzhaus. - Include more information in errors for `language_version` / `additional_dependencies` for languages which do not support them. - #2315 PR by AATTasottile. - Have autoupdate preferentially pick tags which look like versions when there are multiple equivalent tags. - #2312 PR by AATTmblayman. - #2311 issue by AATTmblayman. - Upgrade `ruby-build`. - #2319 PR by AATTjalessio. - Add top level `default_install_hook_types` which will be installed when `--hook-types` is not specified in `pre-commit install`. - #2322 PR by AATTasottile. [#]## Fixes - Fix typo in help message for `--from-ref` and `--to-ref`. - #2266 PR by AATTleetrout. - Prioritize binary builds for R dependencies. - #2277 PR by AATTlorenzwalthert. - Fix handling of git worktrees. - #2252 PR by AATTdaschuer. - Fix handling of `$R_HOME` for R hooks. - #2301 PR by AATTjeff-m-sullivan. - #2300 issue by AATTjeff-m-sullivan. - Fix a rare race condition in change stashing. - #2323 PR by AATTasottile. - #2287 issue by AATTian-h-chamberlain. [#]## Updating - Remove python3.6 support. Note that pre-commit still supports running hooks written in older versions, but pre-commit itself requires python 3.7+. - #2215 PR by AATTasottile. - pre-commit has migrated from the `master` branch to `main`. - #2302 PR by AATTasottile.- python-mock is not required for build
* Sat Mar 26 2022 Dirk Müller - 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.
* Tue Jan 11 2022 Steve Kowalik - 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 AATTbillsioros.
* 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 AATTDeltaXWizard.
* 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
* Allow ci as a top-level map for configuration for https://pre-commit.ci
* Add warning for mutable rev in configuration
* Add warning for /
* in top-level files / exclude regexes
* Expose PRE_COMMIT_REMOTE_BRANCH environment variable during pre-push hooks
* Produce error message for language / language_version for non-installable languages
* Fix execution in worktrees in subdirectories of bare repositories
* Fix cleanup code on docker volumes for go
* Fix default value for types_or so symlink and directory can be matched
* Improve error message for \"hook goes missing\"
* Add warning for /
* in files / exclude regexes
* Add types_or which allows matching multiple disparate types in a hook
* Improve cleanup for language: dotnet
* Fix conflict with external rbenv and language_version: default
* Improve performance of git status / git diff commands by ignoring submodules
* Allow default language_version of system when the homedir is /
* Update sample-config versions
* Add --negate option to language: pygrep hooks
* Add zipapp support
* #1616 PR by AATTasottile.
* Exit with distinct codes: 1 (user error), 3 (unexpected error), 130 (^C)
* Improve healthy() check for language: node + language_version: system hooks when the system executable goes missing.
* pre-commit/action#45 issue by AATTKOliver94.
* Fix excess whitespace in error log traceback
* Fix language: ruby hooks when --format-executable is present in a gemrc
* Move cygwin / win32 mismatch error earlier to catch msys2 mismatches
* Remove -p workaround for old virtualenv
* Fix language: node installations to not symlink outside of the environment
* pre-commit-ci/issues#2 issue by AATTDanielJSottile.
* Don\'t identify shim executables as valid system for defaulting language_version for language: node / language: ruby
* Tue Feb 16 2021 Robert Munteanu - Fix build for multiple python flavors
* Sat Aug 29 2020 Arun Persaud * Fixes + Improve performance of docker hooks by removing slow ps call [#1572] PR by AATTrkm. [#1569] issue by AATTasottile. + Fix un-healthy() invalidation followed by install being reported as un-healthy(). [#1576] PR by AATTasottile. [#1575] issue by AATTjab. + Fix rare file race condition on windows with os.replace() [#1577] PR by AATTasottile.- changes from version 2.7.0:
* Features + Produce error message if an environment is immediately unhealthy [#1535] PR by AATTasottile. + Add --no-allow-missing-config option to init-templatedir [#1539] PR by AATTsingergr. + Add warning for old list-style configuration [#1544] PR by AATTasottile. + Allow pre-commit to succeed on a readonly store. [#1570] PR by AATTasottile. [#1536] issue by AATTasottile.
* Fixes + Fix error messaging when the store directory is readonly [#1546] PR by AATTasottile. [#1536] issue by AATTasottile. + Improve diff performance with many hooks [#1566] PR by AATTjhenkens. [#1564] issue by AATTjhenkens.
* Sun Jul 19 2020 John Vandenberg - Ignore one test failure to fix builds- Set LANG to fix openSUSE 15.1 builds
* Fri Jul 03 2020 Arun Persaud - specfile:
* update version requirement for virtualenv- update to version 2.6.0:
* Fixes + Fix node hooks when NPM_CONFIG_USERCONFIG is set [#1521] PR by AATTasottile. [#1516] issue by AATTrkm.
* Features + Skip rbenv / ruby-download if system ruby is available [#1509] PR by AATTasottile. + Partial support for ruby on windows (if system ruby is installed) [#1509] PR by AATTasottile. [#201] issue by AATTasottile.
* Sun Jun 28 2020 Arun Persaud - update to version 2.5.1:
* Fixes + Prevent infinite recursion of post-checkout on clone [#1497] PR by AATTasottile. [#1496] issue by AATTadmorgan.- changes from version 2.5.0:
* Features + Expose a PRE_COMMIT=1 environment variable when running hooks [#1467] PR by AATTtech-chad. [#1426] issue by AATTlorenzwalthert.
* Fixes + Fix UnicodeDecodeError on windows when using the py launcher to detect executables with non-ascii characters in the path [#1474] PR by AATTasottile. [#1472] issue by DrFobos. + Fix DeprecationWarning on python3.9 for random.shuffle method [#1480] PR by AATTasottile. [#1479] issue by AATTisidentical. + Normalize slashes earlier such that global files / exclude use forward slashes on windows as well. [#1494] PR by AATTasottile. [#1476] issue by AATTharrybiddle.
* Sat May 23 2020 Arun Persaud - update to version 2.4.0:
* Features + Add support for post-commit hooks [#1415] PR by AATTModischFabrications. [#1411] issue by AATTModischFabrications. + Silence pip version warning in python installation error [#1412] PR by AATTasottile. + Improve python healthy() when upgrading operating systems. [#1431] PR by AATTasottile. [#1427] issue by AATTahonnecke. + language: python_venv is now an alias to language: python (and will be removed in a future version). [#1431] PR by AATTasottile. + Speed up python healthy() check. [#1431] PR by AATTasottile. + pre-commit autoupdate now tries to maintain quoting style of rev. [#1435] PR by AATTmarcjay. [#1434] issue by AATTmarcjay.
* Fixes + Fix installation of go modules in repo: local. [#1428] PR by AATTscop. + Fix committing with unstaged files and a failing post-checkout hook. [#1422] PR by AATTdomodwyer. [#1418] issue by AATTdomodwyer. + Fix installation of node hooks with system node installed on freebsd. [#1443] PR by AATTasottile. [#1440] issue by AATTjockej. + Fix ruby hooks when GEM_PATH is set globally. [#1442] PR by AATTtdeo. + Improve error message when pre-commit autoupdate / pre-commit migrate-config are run but the pre-commit configuration is not valid yaml. [#1448] PR by AATTasottile. [#1447] issue by AATTrpdelaney.
* Sat May 02 2020 Arun Persaud - specfile:
* be more specific in %files section- update to version 2.3.0:
* Features + Calculate character width using `east_asian_width` - #1378 PR by AATTsophgn. + Use `language_version: system` by default for `node` hooks if `node` / `npm` are globally installed. - #1388 PR by AATTasottile.
* Fixes + No longer use a hard-coded user id for docker hooks on windows - [#1371] PR by AATTkilluazhu. + Fix colors on windows during `git commit` - #1381 issue by AATTCielquan. - #1382 PR by AATTasottile. + Produce readable error message for incorrect argument count to `hook-impl` - #1394 issue by AATTpip9ball. - #1395 PR by AATTasottile. + Fix installations which involve an upgrade of `pip` on windows - [#1398] issue by AATTxiaohuazi123. - #1399 PR by AATTasottile. + Preserve line endings in `pre-commit autoupdate` - #1402 PR by AATTutek.
* Wed Mar 18 2020 Marketa Calabkova - 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
* Fri Nov 01 2019 Matej Cepl - Update to 1.20.0: Allow building newer versions of ruby. Fix rare race condition with multiple concurrent first-time runs. Allow --hook-type to be specified multiple times. example: pre-commit install --hook-type pre-commit - -hook-type pre-push Include more version information in crash logs. Hook colors are now passed through on platforms which support pty. pre-commit now uses importlib.metadata directly when running in python 3.8 Remove some extra newlines from error messages. When a hook is not executable it now reports not executable instead of not found. Fix interleaving of stdout / stderr in hooks. Fix python environment healthy() check when current working directory contains modules which shadow standard library names. Regexes handling both backslashes and forward slashes for directory separators now only need to handle forward slashes. Fix node_modules plugin installation on windows Make default python lookup more deterministic to avoid redundant installs Fix installation of rust hooks with new cargo Use the current running executable if it matches the requested language_version Print the stage when a hook is not found pre-commit autoupdate now supports non-master default branches Add pre-commit init-templatedir which makes it easier to automatically enable pre-commit in cloned repositories. pre-commit\'s color can be controlled using PRE_COMMIT_COLOR={auto,always,never} pre-commit\'s color can now be disabled using TERM=dumb pre-commit now supports docker based hooks on windows Fix shallow clone Fix autoupdate version flip flop when using shallow cloning Fix autoupdate when the current revision is invalid Replace development instructions with tox --devenv ... Produce better output on ^C Warn on unknown keys at the top level and repo level Fix handling of ^C in wrapper script in python 3.x Fix rmtree for non-writable directories Pass --color option to git diff in --show-diff-on-failure Fix test when pre-commit is installed globally Add support for prepare-commit-msg hook Whitespace fixup Fix cloning non-branch tag while in the fallback slow-clone strategy.- Just switch of tests for now.
* Thu Apr 04 2019 John Vandenberg - Initial spec for v1.15.1