diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 384944d..e3862db 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: end-of-file-fixer - id: trailing-whitespace @@ -11,31 +11,31 @@ repos: - id: check-merge-conflict - repo: https://github.com/asottile/pyupgrade - rev: v3.17.0 + rev: v3.19.1 hooks: - id: pyupgrade args: [--py310-plus] - repo: https://github.com/psf/black - rev: 24.8.0 + rev: 25.1.0 hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: 1.18.0 + rev: 1.19.1 hooks: - id: blacken-docs additional_dependencies: - black==22.6.0 - repo: https://github.com/pycqa/isort - rev: 5.13.2 + rev: 6.0.1 hooks: - id: isort args: ["--profile", "black"] - repo: https://github.com/PyCQA/flake8 - rev: 7.1.1 + rev: 7.2.0 hooks: - id: flake8 args: @@ -48,7 +48,7 @@ repos: - flake8-typing-imports - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.15.0 hooks: - id: mypy files: ^src/ diff --git a/src/main.py b/src/main.py index 1254621..0ab6f03 100644 --- a/src/main.py +++ b/src/main.py @@ -107,7 +107,7 @@ def run(self) -> None: ) raise SystemExit(1) else: - gha_utils.notice("Everything is up-to-date! \U0001F389 \U0001F389") + gha_utils.notice("Everything is up-to-date! \U0001f389 \U0001f389") def _update_workflow(self, workflow_path: str) -> set[str]: """Update the workflow file with the updated data""" diff --git a/src/utils.py b/src/utils.py index f0a3d7a..73da152 100644 --- a/src/utils.py +++ b/src/utils.py @@ -42,7 +42,7 @@ def create_pull_request( if response.status_code == 201: response_data = response.json() gha_utils.notice( - f"Pull request opened at {response_data['html_url']} \U0001F389" + f"Pull request opened at {response_data['html_url']} \U0001f389" ) return response_data["number"] @@ -94,7 +94,7 @@ def add_pull_request_reviewers( gha_utils.notice( "Requested review from " f"{pull_request_user_reviewers.union(pull_request_team_reviewers)} " - "\U0001F389" + "\U0001f389" ) return @@ -130,7 +130,7 @@ def add_pull_request_labels( if response.status_code == 200: gha_utils.notice( f"Added '{labels}' labels to " - f"pull request #{pull_request_number} \U0001F389" + f"pull request #{pull_request_number} \U0001f389" ) return @@ -167,8 +167,8 @@ def display_whats_new() -> None: latest_release_body = response_data["body"] group_title = ( - "\U0001F389 What's New In " - f"GitHub Actions Version Updater {latest_release_tag} \U0001F389" + "\U0001f389 What's New In " + f"GitHub Actions Version Updater {latest_release_tag} \U0001f389" ) with gha_utils.group(group_title):