Skip to content

Commit 421193c

Browse files
chore(deps): update dependency pytest to v9 (#1345)
* chore(deps): update dependency pytest to v9 * chore(pytest): use new configuration format * chore(pytest): use strict mode --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Mathieu Kniewallner <[email protected]>
1 parent b9b0b22 commit 421193c

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ docs = [
4040
test = [
4141
"pdm==2.26.1",
4242
"poetry==2.2.1",
43-
"pytest==8.4.2",
43+
"pytest==9.0.1",
4444
"pytest-cov==7.0.0",
4545
"pytest-xdist[psutil]==3.8.0",
4646
]
@@ -126,14 +126,15 @@ extend_exclude = ["docs", "tests"]
126126
[tool.deptry.per_rule_ignores]
127127
DEP001 = ["tomllib"]
128128

129-
[tool.pytest.ini_options]
130-
addopts = "--doctest-modules"
129+
[tool.pytest]
130+
addopts = ["--doctest-modules"]
131131
filterwarnings = [
132132
"error",
133133
# Triggered by PyPy 3.11 on Windows.
134134
"default:check_home argument is deprecated and ignored:DeprecationWarning",
135135
]
136136
norecursedirs = ["fixtures*"]
137+
strict = true
137138

138139
[tool.ruff]
139140
line-length = 120

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)