forked from pool/python-pre-commit
- 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=25
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pre-commit
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%define skip_python2 1
|
||||
Name: python-pre-commit
|
||||
Version: 2.20.0
|
||||
Version: 2.21.0
|
||||
Release: 0
|
||||
Summary: Multi-language pre-commit hooks
|
||||
License: MIT
|
||||
@@ -93,7 +93,8 @@ EXCLUDED_TESTS="$EXCLUDED_TESTS or test_local_rust_additional_dependencies or te
|
||||
EXCLUDED_TESTS="$EXCLUDED_TESTS or conda or test_perl_hook or test_local_perl_additional_dependencies"
|
||||
EXCLUDED_TESTS="$EXCLUDED_TESTS or dart or dotnet or r_ or node or ruby"
|
||||
EXCLUDED_TESTS="$EXCLUDED_TESTS or test_local_lua_additional_dependencies"
|
||||
EXCLUDED_TESTS="$EXCLUDED_TESTS or test_local_python_repo_python2"
|
||||
# rust_tests use rustup which require network
|
||||
EXCLUDED_TESTS="$EXCLUDED_TESTS or test_local_python_repo_python2 or rust_test"
|
||||
|
||||
# Fix issue with git submodule in OBS
|
||||
git config --global --add protocol.file.allow always
|
||||
|
Reference in New Issue
Block a user