From a70d6f77355727ad57b401f316f1278617fc727b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Apr 2025 20:48:51 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.11.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.6...v0.11.4) - [github.com/psf/black-pre-commit-mirror: 24.10.0 → 25.1.0](https://github.com/psf/black-pre-commit-mirror/compare/24.10.0...25.1.0) - [github.com/python-jsonschema/check-jsonschema: 0.30.0 → 0.32.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.30.0...0.32.1) - [github.com/rhysd/actionlint: v1.7.6 → v1.7.7](https://github.com/rhysd/actionlint/compare/v1.7.6...v1.7.7) - [github.com/pre-commit/mirrors-mypy: v1.14.1 → v1.15.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.14.1...v1.15.0) - [github.com/tox-dev/pyproject-fmt: v2.5.0 → v2.5.1](https://github.com/tox-dev/pyproject-fmt/compare/v2.5.0...v2.5.1) - [github.com/abravalheri/validate-pyproject: v0.23 → v0.24.1](https://github.com/abravalheri/validate-pyproject/compare/v0.23...v0.24.1) - [github.com/tox-dev/tox-ini-fmt: 1.4.1 → 1.5.0](https://github.com/tox-dev/tox-ini-fmt/compare/1.4.1...1.5.0) - [github.com/codespell-project/codespell: v2.3.0 → v2.4.1](https://github.com/codespell-project/codespell/compare/v2.3.0...v2.4.1) --- .pre-commit-config.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 542d631..6319ad6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,12 +1,12 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.6 + rev: v0.11.4 hooks: - id: ruff args: [--exit-non-zero-on-fix] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.10.0 + rev: 25.1.0 hooks: - id: black @@ -25,18 +25,18 @@ repos: - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.30.0 + rev: 0.32.1 hooks: - id: check-dependabot - id: check-github-workflows - repo: https://github.com/rhysd/actionlint - rev: v1.7.6 + rev: v1.7.7 hooks: - id: actionlint - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.14.1 + rev: v1.15.0 hooks: - id: mypy args: @@ -50,22 +50,22 @@ repos: additional_dependencies: ["types-requests"] - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.5.0 + rev: v2.5.1 hooks: - id: pyproject-fmt - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.23 + rev: v0.24.1 hooks: - id: validate-pyproject - repo: https://github.com/tox-dev/tox-ini-fmt - rev: 1.4.1 + rev: 1.5.0 hooks: - id: tox-ini-fmt - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.1 hooks: - id: codespell args: [--ignore-words-list=commitish] From 90358766ee72ed4058726f7a3207e11d600ea700 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Apr 2025 20:49:03 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- cherry_picker/cherry_picker.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cherry_picker/cherry_picker.py b/cherry_picker/cherry_picker.py index 52df11d..90d40c7 100755 --- a/cherry_picker/cherry_picker.py +++ b/cherry_picker/cherry_picker.py @@ -400,7 +400,7 @@ def amend_commit_message(self, cherry_pick_branch): def pause_after_committing(self, cherry_pick_branch): click.echo( f""" -Finished cherry-pick {self.commit_sha1} into {cherry_pick_branch} \U0001F600 +Finished cherry-pick {self.commit_sha1} into {cherry_pick_branch} \U0001f600 --no-push option used. ... Stopping here. To continue and push the changes: @@ -672,7 +672,7 @@ def continue_cherry_pick(self): else: click.echo( f"Current branch ({cherry_pick_branch}) is not a backport branch. " - "Will not continue. \U0001F61B" + "Will not continue. \U0001f61b" ) set_state(WORKFLOW_STATES.CONTINUATION_FAILED) @@ -822,12 +822,12 @@ def cherry_pick_cli( ): """cherry-pick COMMIT_SHA1 into target BRANCHES.""" - click.echo("\U0001F40D \U0001F352 \u26CF") + click.echo("\U0001f40d \U0001f352 \u26cf") try: chosen_config_path, config = load_config(config_path) except ValueError as exc: - click.echo("You're not inside a Git tree right now! \U0001F645", err=True) + click.echo("You're not inside a Git tree right now! \U0001f645", err=True) click.echo(exc, err=True) sys.exit(-1) try: