Skip to content

Commit fde2006

Browse files
committed
Native TOML config in pytest 9!
1 parent 176b46e commit fde2006

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,13 @@ requires-python = "~=3.14.0"
1515
[project.urls]
1616
Home = "https://github.com/rouge8/python-template"
1717

18-
[tool.pytest.ini_options]
19-
addopts = "--strict-config --strict-markers"
18+
[tool.pytest]
19+
minversion = "9.0"
20+
addopts = [
21+
"-ra",
22+
"--strict-config",
23+
"--strict-markers",
24+
]
2025

2126
[tool.mypy]
2227
strict = true

0 commit comments

Comments
 (0)