Skip to content

Commit bdc50e0

Browse files
committed
Update hooks
1 parent aba0024 commit bdc50e0

File tree

4 files changed

+16
-13
lines changed

4 files changed

+16
-13
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ updates:
88
actions:
99
patterns:
1010
- "*"
11+
cooldown:
12+
default-days: 7
1113

1214
- package-ecosystem: pip
1315
directory: "/"
@@ -19,3 +21,5 @@ updates:
1921
pip:
2022
patterns:
2123
- "*"
24+
cooldown:
25+
default-days: 7

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131
tox -e py
3232
3333
- name: Upload coverage
34-
uses: codecov/codecov-action@v5
34+
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
3535
with:
3636
token: ${{ secrets.CODECOV_ORG_TOKEN }}

.pre-commit-config.yaml

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

88
- repo: https://github.com/psf/black-pre-commit-mirror
9-
rev: 25.1.0
9+
rev: 25.12.0
1010
hooks:
1111
- id: black
1212

1313
- repo: https://github.com/pre-commit/pre-commit-hooks
14-
rev: v5.0.0
14+
rev: v6.0.0
1515
hooks:
1616
- id: check-added-large-files
1717
- id: check-case-conflict
@@ -25,33 +25,33 @@ repos:
2525
- id: trailing-whitespace
2626

2727
- repo: https://github.com/python-jsonschema/check-jsonschema
28-
rev: 0.31.1
28+
rev: 0.36.0
2929
hooks:
3030
- id: check-dependabot
3131
- id: check-github-workflows
3232

3333
- repo: https://github.com/rhysd/actionlint
34-
rev: v1.7.7
34+
rev: v1.7.10
3535
hooks:
3636
- id: actionlint
3737

3838
- repo: https://github.com/woodruffw/zizmor-pre-commit
39-
rev: v1.3.1
39+
rev: v1.19.0
4040
hooks:
4141
- id: zizmor
4242

4343
- repo: https://github.com/tox-dev/pyproject-fmt
44-
rev: v2.5.0
44+
rev: v2.11.1
4545
hooks:
4646
- id: pyproject-fmt
4747

4848
- repo: https://github.com/abravalheri/validate-pyproject
49-
rev: v0.23
49+
rev: v0.24.1
5050
hooks:
5151
- id: validate-pyproject
5252

5353
- repo: https://github.com/tox-dev/tox-ini-fmt
54-
rev: 1.5.0
54+
rev: 1.7.1
5555
hooks:
5656
- id: tox-ini-fmt
5757

release.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,12 @@
2020
import subprocess
2121
import sys
2222
import tempfile
23-
from collections.abc import Generator, Sequence
23+
from collections.abc import Callable, Generator, Sequence
2424
from contextlib import contextmanager
2525
from dataclasses import dataclass
2626
from pathlib import Path
2727
from typing import (
2828
Any,
29-
Callable,
3029
Literal,
3130
Protocol,
3231
Self,

0 commit comments

Comments
 (0)