Skip to content

Commit 193469b

Browse files
Upgrade pre-commit again
1 parent 3fa2fa4 commit 193469b

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: "v0.7.0"
3+
rev: "v0.7.1"
44
hooks:
55
- id: ruff
66
args: ["--fix"]
@@ -12,7 +12,7 @@ repos:
1212
- id: end-of-file-fixer
1313
- id: check-yaml
1414
- repo: https://github.com/adamchainz/blacken-docs
15-
rev: 1.19.0
15+
rev: 1.19.1
1616
hooks:
1717
- id: blacken-docs
1818
additional_dependencies: [black==24.1.1]
@@ -28,7 +28,7 @@ repos:
2828
hooks:
2929
- id: python-use-type-annotations
3030
- repo: https://github.com/pre-commit/mirrors-mypy
31-
rev: v1.12.1
31+
rev: v1.13.0
3232
hooks:
3333
- id: mypy
3434
files: ^(src/|testing/|scripts/)
@@ -44,13 +44,13 @@ repos:
4444
# on <3.11
4545
- exceptiongroup>=1.0.0rc8
4646
- repo: https://github.com/tox-dev/pyproject-fmt
47-
rev: "2.4.3"
47+
rev: "v2.4.3"
4848
hooks:
4949
- id: pyproject-fmt
5050
# https://pyproject-fmt.readthedocs.io/en/latest/#calculating-max-supported-python-version
5151
additional_dependencies: ["tox>=4.9"]
5252
- repo: https://github.com/asottile/pyupgrade
53-
rev: v3.18.0
53+
rev: v3.19.0
5454
hooks:
5555
- id: pyupgrade
5656
stages: [manual]
@@ -62,6 +62,7 @@ repos:
6262
language: system
6363
types: [python]
6464
args: ["-rn", "-sn", "--fail-on=I"]
65+
require_serial: true
6566
stages: [manual]
6667
- id: rst
6768
name: rst

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ disable = [
275275
"too-many-lines",
276276
"too-many-locals",
277277
"too-many-nested-blocks",
278+
"too-many-positional-arguments",
278279
"too-many-public-methods",
279280
"too-many-return-statements", # disabled in ruff
280281
"too-many-statements", # disabled in ruff

0 commit comments

Comments
 (0)