diff --git a/pyproject.toml b/pyproject.toml index 1609fd9..207277c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ dependencies = [ ] [project.optional-dependencies] -test = ["pytest >= 7.4.4", "pytest-cov >= 4.1.0"] +test = ["pytest >= 8.0", "pytest-cov >= 5.0"] lint = ["pre-commit == 3.8.0"] dev = ["changelist == 0.5"] @@ -88,3 +88,10 @@ ignore = [ "PT012", # `pytest.raises()` block "PLW0129", # Asserting on a non-empty string literal will always pass ] + +[tool.pytest.ini_options] +minversion = "8.0" +addopts = ["--doctest-modules", "-ra", "--showlocals", "--strict-markers", "--strict-config"] +xfail_strict = true +filterwarnings = ["error"] +log_cli_level = "info"