diff --git a/pyproject.toml b/pyproject.toml index e866e4f..068bfb5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,7 +50,7 @@ test = [ "faker", "model-bakery>=1.13", "numpy", - "pytest", + "pytest>=9", "pytest-xdist", ] @@ -107,11 +107,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.coverage] run.branch = true diff --git a/uv.lock b/uv.lock index 5a0abd7..4b2abdb 100644 --- a/uv.lock +++ b/uv.lock @@ -471,7 +471,7 @@ test = [ { name = "faker" }, { name = "model-bakery", specifier = ">=1.13" }, { name = "numpy" }, - { name = "pytest" }, + { name = "pytest", specifier = ">=9" }, { name = "pytest-xdist" }, ]