17
0

Compare commits

46 Commits

Author SHA256 Message Date
01d16f673e Accepting request 1224784 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1224784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=23
2024-11-18 19:01:45 +00:00
ccc8f56d54 Accepting request 1218114 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1218114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=22
2024-10-25 17:19:47 +00:00
e808a3baa2 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=43
2024-10-24 19:24:11 +00:00
e88a10eeda Accepting request 1191754 from devel:languages:python
- update to 3.8.0:
  * Implement health checks for `language: r` so environments are
    recreated if the system version of R changes.

OBS-URL: https://build.opensuse.org/request/show/1191754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=21
2024-08-06 07:08:06 +00:00
d9165013bc - update to 3.8.0:
* Implement health checks for `language: r` so environments are
    recreated if the system version of R changes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=41
2024-08-05 18:59:06 +00:00
caec4d501c Accepting request 1179070 from devel:languages:python
- update to 3.7.1:
  * Fix `language: rust` default language version check when
    `rust-toolchain.toml` is present.

OBS-URL: https://build.opensuse.org/request/show/1179070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=20
2024-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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=39
2024-06-06 19:37:51 +00:00
a7cdf412f0 Accepting request 1161391 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1161391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=19
2024-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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=37
2024-03-25 13:02:10 +00:00
adb87316e3 Accepting request 1152925 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1152925
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=18
2024-02-28 18:47:45 +00:00
27c864f3f9 Accepting request 1152469 from home:bnavigator:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1152469
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=35
2024-02-28 12:57:18 +00:00
d60ae028ce Accepting request 1136657 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1136657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=17
2024-01-04 14:58:48 +00:00
77c103bf1f Accepting request 1136649 from home:deneb_alpha:devel-utils
- Specify a Group tag for Leap and SUSE Linux Enterprise
- Disable Perl install test as that requires network for CPAN initialisation also on SUSE Linux Enterprise.

OBS-URL: https://build.opensuse.org/request/show/1136649
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=33
2024-01-03 18:40:02 +00:00
8a37ef0b53 Accepting request 1133197 from devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/1133197
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=16
2023-12-15 20:48:27 +00:00
2ea82527c7 Accepting request 1132881 from home:theMarix:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1132881
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=31
2023-12-14 21:14:23 +00:00
cda29f92b4 Accepting request 1129479 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1129479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=15
2023-11-28 21:19:50 +00:00
708ecb52d1 Accepting request 1129254 from home:theMarix:branches:devel:languages:python
- 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.

Note that, right now, this won't fix the 15.6 build as the dependency
python-editdistance is from devel:languages:python:numeric and the fixed version
in that repo is not visible in devel:languages:python. However, this will at
least give us a working build on devel:languages:python:backports. And once the
fixed version of python-editdistance makes it into 15.6 we will also get a working
build for 15.6 over here.

OBS-URL: https://build.opensuse.org/request/show/1129254
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=29
2023-11-28 09:40:37 +00:00
664b7bd551 Accepting request 1121650 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1121650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=14
2023-11-01 21:10:53 +00:00
95c2bd0d37 Accepting request 1121631 from home:buschmann23:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1121631
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=27
2023-11-01 15:48:46 +00:00
c98a96ff15 Accepting request 1046303 from devel:languages:python
- 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/request/show/1046303
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=13
2023-01-03 14:05:30 +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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=25
2023-01-02 20:20:28 +00:00
eec785b793 Accepting request 1038582 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1038582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=12
2022-11-28 10:07:22 +00:00
e7b761404a - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=23
2022-11-28 07:03:02 +00:00
0d233259b6 Accepting request 988454 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/988454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=11
2022-07-12 09:12:28 +00:00
7932eca85a Accepting request 988408 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/988408
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=21
2022-07-11 16:43:00 +00:00
f7f01cd1b8 Accepting request 980049 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/980049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=10
2022-05-31 13:47:43 +00:00
7b366a2092 Accepting request 979982 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/979982
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=19
2022-05-31 08:05:05 +00:00
8719f61031 Accepting request 967528 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/967528
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=9
2022-04-07 22:28:26 +00:00
34c6b2721d Accepting request 967489 from home:pgajdos:python
- 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 @asottile.
  2.18.0 - 2022-04-02
  ===================
  ### Features
  - Keep `GIT_HTTP_PROXY_AUTHMETHOD` in git environ.
      - #2272 PR by @VincentBerthier.
      - #2271 issue by @VincentBerthier.
  - Support both `cs` and `coursier` executables for coursier hooks.
      - #2293 PR by @Holzhaus.
  - Include more information in errors for `language_version` /
    `additional_dependencies` for languages which do not support them.
      -  #2315 PR by @asottile.
  - Have autoupdate preferentially pick tags which look like versions when
    there are multiple equivalent tags.
      - #2312 PR by @mblayman.
      - #2311 issue by @mblayman.
  - Upgrade `ruby-build`.
      - #2319 PR by @jalessio.
  - Add top level `default_install_hook_types` which will be installed when
    `--hook-types` is not specified in `pre-commit install`.
      - #2322 PR by @asottile.
  ### Fixes
  - Fix typo in help message for `--from-ref` and `--to-ref`.
      - #2266 PR by @leetrout.
  - Prioritize binary builds for R dependencies.

OBS-URL: https://build.opensuse.org/request/show/967489
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=17
2022-04-07 14:58:01 +00:00
efa96ab594 Accepting request 965080 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/965080
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=8
2022-03-26 21:32:14 +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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=15
2022-03-26 19:50:57 +00:00
597fb34e89 Accepting request 945468 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/945468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=7
2022-01-11 20:19:53 +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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=14
2022-01-11 01:38:20 +00:00
900c04ae9f Accepting request 872837 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/872837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=6
2021-02-18 19:40:26 +00:00
f353981562 Accepting request 872813 from home:robert_munteanu:branches:devel:languages:python
Fix build for multiple python flavors

OBS-URL: https://build.opensuse.org/request/show/872813
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=12
2021-02-16 13:34:57 +00:00
6eb7854051 Accepting request 830498 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/830498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=5
2020-08-31 14:50:34 +00:00
Tomáš Chvátal
cc733579a7 Accepting request 830484 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/830484
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=10
2020-08-29 18:38:24 +00:00
5d503d5a29 Accepting request 821709 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/821709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=4
2020-07-20 19:00:05 +00:00
Tomáš Chvátal
48f5e847a5 Accepting request 821705 from home:jayvdb:branches:devel:languages:python
- Ignore one test failure to fix builds
- Set LANG to fix openSUSE 15.1 builds
- specfile:
  * update version requirement for virtualenv
- update to version 2.6.0:

OBS-URL: https://build.opensuse.org/request/show/821705
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=8
2020-07-19 05:17:11 +00:00
634bedbefb Accepting request 799932 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/799932
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=3
2020-05-04 16:40:27 +00:00
Tomáš Chvátal
d95d85e53c Accepting request 799916 from home:apersaud:branches:devel:languages:python
* added skip_python2 back to spec file

- specfile:
  * be more specific in %files section
- update to version 2.3.0:
  * Features
    + Calculate character width using `east_asian_width` - #1378 PR by
      @sophgn.
    + Use `language_version: system` by default for `node` hooks if
      `node` / `npm` are globally installed.  - #1388 PR by @asottile.
  * Fixes
    + No longer use a hard-coded user id for docker hooks on windows -
      #1371 PR by @killuazhu.
    + Fix colors on windows during `git commit` - #1381 issue by
      @Cielquan.  - #1382 PR by @asottile.
    + Produce readable error message for incorrect argument count to
      `hook-impl` - #1394 issue by @pip9ball.  - #1395 PR by
      @asottile.
    + Fix installations which involve an upgrade of `pip` on windows -
      #1398 issue by @xiaohuazi123.  - #1399 PR by @asottile.
    + Preserve line endings in `pre-commit autoupdate` - #1402 PR by
      @utek.

OBS-URL: https://build.opensuse.org/request/show/799916
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=6
2020-05-04 05:27:19 +00:00
7881ada202 Accepting request 786163 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/786163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=2
2020-03-19 18:49:07 +00:00
Tomáš Chvátal
e9b367ec9a Accepting request 786145 from home:mcalabkova:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/786145
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=4
2020-03-18 11:56:14 +00:00
89f4c78f62 Accepting request 753899 from devel:languages:python
Initial submission of the package.

OBS-URL: https://build.opensuse.org/request/show/753899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pre-commit?expand=0&rev=1
2019-12-04 12:55:25 +00:00
aaf0360417 Fix sed call
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=2
2019-12-04 07:06:40 +00:00
90562ae8a2 Accepting request 753196 from home:mcepl:branches:devel:languages:python
First submit.

OBS-URL: https://build.opensuse.org/request/show/753196
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pre-commit?expand=0&rev=1
2019-12-03 12:30:51 +00:00
2 changed files with 0 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0dc004239d417d8ea7815e34c6dd2740870e01c84d5fe513bade9ba06aca7560
size 270138

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ee00513461333787af71c9cc6926ce1cd8f2f4aa7f0cffdd3555d94febdc155b
size 270925