Skip to content

Commit c6f2830

Browse files
authored
🔧 Upgrade pytest version and config (#481)
1 parent 8f0ed48 commit c6f2830

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

pyproject.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ github-actions = [
7676
tests = [
7777
"coverage[toml]>=6.2,<8.0",
7878
"mypy==1.19.1",
79-
"pytest>=7.4.0,<9.0.0",
79+
"pytest>=9.0.0",
8080
"ruff==0.15.2",
8181
]
8282

@@ -91,6 +91,17 @@ source-includes = [
9191
"scripts/",
9292
]
9393

94+
[tool.pytest]
95+
minversion = "9.0"
96+
addopts = [
97+
"--strict-config",
98+
"--strict-markers",
99+
]
100+
strict_xfail = true
101+
filterwarnings = [
102+
"error",
103+
]
104+
94105
[tool.coverage.run]
95106
parallel = true
96107
data_file = "coverage/.coverage"

uv.lock

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

0 commit comments

Comments
 (0)