diff --git a/pyproject.toml b/pyproject.toml index 6b85f2d..2809771 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ urls = { Changelog = "https://github.com/adamchainz/pip-lock/blob/main/CHANGELOG [dependency-groups] test = [ - "pytest", + "pytest>=9", "pytest-randomly", ] @@ -97,11 +97,7 @@ warn_unreachable = true overrides = [ { module = "tests.*", allow_untyped_defs = true } ] [tool.pytest] -ini_options.addopts = """\ - --strict-config - --strict-markers - """ -ini_options.xfail_strict = true +strict = true [tool.rstcheck] report_level = "ERROR" diff --git a/uv.lock b/uv.lock index feb7453..f20fb03 100644 --- a/uv.lock +++ b/uv.lock @@ -56,7 +56,7 @@ test = [ [package.metadata.requires-dev] test = [ - { name = "pytest" }, + { name = "pytest", specifier = ">=9" }, { name = "pytest-randomly" }, ]