Skip to content

Commit 1a98c6e

Browse files
committed
Bump pre-commit hooks
1 parent a3155bc commit 1a98c6e

File tree

8 files changed

+11
-6
lines changed

8 files changed

+11
-6
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.14.10
3+
rev: v0.15.6
44
hooks:
55
- id: ruff-check
66
args: [--exit-non-zero-on-fix]
77

88
- repo: https://github.com/psf/black-pre-commit-mirror
9-
rev: 25.12.0
9+
rev: 26.3.1
1010
hooks:
1111
- id: black
1212
args: [--target-version=py311]
@@ -25,12 +25,12 @@ repos:
2525
- id: trailing-whitespace
2626

2727
- repo: https://github.com/tox-dev/pyproject-fmt
28-
rev: v2.11.1
28+
rev: v2.19.0
2929
hooks:
3030
- id: pyproject-fmt
3131

3232
- repo: https://github.com/abravalheri/validate-pyproject
33-
rev: v0.24.1
33+
rev: v0.25
3434
hooks:
3535
- id: validate-pyproject
3636

@@ -40,7 +40,7 @@ repos:
4040
- id: tox-ini-fmt
4141

4242
- repo: https://github.com/rbubley/mirrors-prettier
43-
rev: v3.7.4
43+
rev: v3.8.1
4444
hooks:
4545
- id: prettier
4646
args: [--prose-wrap=always, --print-width=88]

bpo_redirecter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"""
33
Update BPO links to GH issues in a file or directory of files
44
"""
5+
56
from __future__ import annotations
67

78
import argparse

conflicted.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"""
33
Find which of my PRs have merge conflicts.
44
"""
5+
56
from __future__ import annotations
67

78
import argparse

github-repos.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"""
33
Show which non-fork repos I created this year.
44
"""
5+
56
from __future__ import annotations
67

78
import argparse

hacktoberfest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
You can then run `diffstat /tmp/hacktoberfest/*.diff` to get a summary:
55
714 files changed, 9843 insertions(+), 13719 deletions(-)
66
"""
7+
78
from __future__ import annotations
89

910
import argparse

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[tool.ruff]
22
fix = true
3-
43
lint.select = [
54
"C4", # flake8-comprehensions
65
"E", # pycodestyle errors

repo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
repo branches
1616
upstream pulls
1717
"""
18+
1819
from __future__ import annotations
1920

2021
import argparse

upgrade_actions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
1212
uv run ~/github/github-tools/upgrade_actions.py
1313
"""
14+
1415
from __future__ import annotations
1516

1617
import argparse

0 commit comments

Comments
 (0)