-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
help wantedissue:bugReport errors or unexpected behavior (auto-generated by issue forms)Report errors or unexpected behavior (auto-generated by issue forms)
Description
Area with issue?
Recent updates to the schema is causing tombi to flag pytest ini_config in pyproject.toml as deprecated when it's still a valid way to config pytest.
https://www.schemastore.org/partial-pytest.json
✔️ Expected Behavior
In pyproject.toml
[tool.pytest.ini_options] is not marked as deprecated
❌ Actual Behavior
When [tool.pytest.ini_options] is configured tombi flags it as deprecated but pytest has not deprecated this usage so this is false warning forcing users to migrate config which would not be possible if using pytest version <9.
Also why is pytest-asyncio mentioned in the description?
`tool.pytest.ini_options` is deprecatedTombi(deprecated)
Configuration options for pytest-asyncio.
Keys: tool.pytest.ini_options
Value: Table
Additional Keys: true
Keys Order: schema
JSON, YAML, or TOML file that does not work.
[tool.pytest.ini_options]
pythonpath = "src/python"
testpaths = ["src/python/tests"]
IDE or code editor.
None
Are you making a PR for this?
No, someone else must create the PR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedissue:bugReport errors or unexpected behavior (auto-generated by issue forms)Report errors or unexpected behavior (auto-generated by issue forms)