├── PP301 Has pytest in pyproject ❌
│ Must have a [tool.pytest.ini_options] configuration section in pyproject.toml.
├── PP302 Sets a minimum pytest to at least 6 [skipped]
├── PP303 Sets the test paths [skipped]
...
Note: Both tables cannot be used simultaneously per pytest documentation.
Issue
The PP301 check requires
[tool.pytest.ini_options]in pyproject.toml, but pytest 9 introduced native TOML support under[tool.pytest]([PR #13743](pytest-dev/pytest#13743)).Using the new format causes false failure:
Expected
Checks should accept either:
[tool.pytest.ini_options](INI-compatibility mode, pytest 6+)[tool.pytest](native TOML, pytest 9+)Note: Both tables cannot be used simultaneously per pytest documentation.
References