Skip to content

Commit a92a51d

Browse files
Update pytest config (#126)
1 parent 30719df commit a92a51d

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

pyproject.toml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,26 @@ dependencies = [
2525
]
2626

2727
[project.optional-dependencies]
28-
test = ["pytest >= 7.4", "pytest-cov >= 4.1"]
28+
test = ["pytest >= 8.0", "pytest-cov >= 5.0"]
2929
lint = ["pre-commit == 3.7.1"]
3030
dev = ["changelist == 0.5"]
3131

3232
[project.urls]
3333
Home = "https://scientific-python.org/specs/spec-0001/"
3434
Source = "https://github.com/scientific-python/lazy-loader"
3535

36+
[tool.setuptools.dynamic.version]
37+
attr = 'lazy_loader.__version__'
38+
3639
[tool.changelist]
3740
ignored_user_logins = ["dependabot[bot]", "pre-commit-ci[bot]", "web-flow"]
3841

39-
[tool.setuptools.dynamic.version]
40-
attr = 'lazy_loader.__version__'
42+
[tool.pytest.ini_options]
43+
minversion = "8.0"
44+
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
45+
xfail_strict = true
46+
filterwarnings = ["error"]
47+
log_cli_level = "info"
4148

4249
[tool.ruff]
4350
exclude = [

0 commit comments

Comments
 (0)