Skip to content

Commit 4b1b5bd

Browse files
committed
chore: bump pre-commit hooks
and run them
1 parent e4ba6e9 commit 4b1b5bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/bump_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def main():
140140
# NOTE: this is design to fail locally with `KeyError`
141141
git_config = {"name": environ["GITHUB_ACTOR"]}
142142
git_config["email"] = (
143-
f'{environ["GITHUB_ACTOR_ID"]}+{git_config["name"]}@users.noreply.github.com'
143+
f"{environ['GITHUB_ACTOR_ID']}+{git_config['name']}@users.noreply.github.com"
144144
)
145145
for key, value in git_config.items():
146146
subprocess.run(

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.6.0
3+
rev: v5.0.0
44
hooks:
55
- id: trailing-whitespace
66
exclude: cpp-linter/tests/.*\.(?:patch|diff)
@@ -16,7 +16,7 @@ repos:
1616
- id: mixed-line-ending
1717
args: ["--fix=lf"]
1818
- repo: https://github.com/astral-sh/ruff-pre-commit
19-
rev: v0.5.2
19+
rev: v0.11.10
2020
hooks:
2121
# Run the python linter.
2222
- id: ruff

0 commit comments

Comments
 (0)