Skip to content

[pre-commit.ci] pre-commit autoupdate #109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,39 @@ 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
- id: check-case-conflict
- 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:
Expand All @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down
10 changes: 5 additions & 5 deletions src/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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):
Expand Down