Skip to content

Commit 94f4922

Browse files
[pre-commit.ci] pre-commit autoupdate (#14002)
updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.5 → v0.14.6](astral-sh/ruff-pre-commit@v0.14.5...v0.14.6) - [github.com/asottile/pyupgrade: v3.21.1 → v3.21.2](asottile/pyupgrade@v3.21.1...v3.21.2) Co-authored-by: Pierre Sassoulas <[email protected]>
1 parent ee652d6 commit 94f4922

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
minimum_pre_commit_version: "4.4.0"
22
repos:
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: "v0.14.5"
4+
rev: "v0.14.6"
55
hooks:
66
- id: ruff-check
77
args: ["--fix"]
@@ -74,7 +74,7 @@ repos:
7474
# https://pyproject-fmt.readthedocs.io/en/latest/#calculating-max-supported-python-version
7575
additional_dependencies: ["tox>=4.9"]
7676
- repo: https://github.com/asottile/pyupgrade
77-
rev: v3.21.1
77+
rev: v3.21.2
7878
hooks:
7979
- id: pyupgrade
8080
args:

src/_pytest/subtests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def pytest_report_from_serializable(data: dict[str, Any]) -> SubtestReport | Non
353353

354354

355355
def pytest_configure(config: Config) -> None:
356-
config.stash[failed_subtests_key] = defaultdict(lambda: 0)
356+
config.stash[failed_subtests_key] = defaultdict(int)
357357

358358

359359
@hookimpl(tryfirst=True)

0 commit comments

Comments
 (0)