Skip to content

Commit 6e11646

Browse files
Update pytest config (#100)
1 parent c6b9dbf commit 6e11646

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dependencies = [
3030
]
3131

3232
[project.optional-dependencies]
33-
test = ["pytest >= 7.4.4", "pytest-cov >= 4.1.0"]
33+
test = ["pytest >= 8.0", "pytest-cov >= 5.0"]
3434
lint = ["pre-commit == 3.8.0"]
3535
dev = ["changelist == 0.5"]
3636

@@ -88,3 +88,10 @@ ignore = [
8888
"PT012", # `pytest.raises()` block
8989
"PLW0129", # Asserting on a non-empty string literal will always pass
9090
]
91+
92+
[tool.pytest.ini_options]
93+
minversion = "8.0"
94+
addopts = ["--doctest-modules", "-ra", "--showlocals", "--strict-markers", "--strict-config"]
95+
xfail_strict = true
96+
filterwarnings = ["error"]
97+
log_cli_level = "info"

0 commit comments

Comments
 (0)