Skip to content

Fix pytest ini_options schema annotations#5688

Merged
hyperupcall merged 1 commit into
SchemaStore:masterfrom
snoopuppy582:fix-pytest-ini-options-deprecated-5278
May 13, 2026
Merged

Fix pytest ini_options schema annotations#5688
hyperupcall merged 1 commit into
SchemaStore:masterfrom
snoopuppy582:fix-pytest-ini-options-deprecated-5278

Conversation

@snoopuppy582
Copy link
Copy Markdown
Contributor

Summary

  • remove the deprecated annotation from the [tool.pytest.ini_options] schema path
  • keep the table description aligned with pytest's supported INI-style pyproject configuration
  • add a pyproject positive fixture covering [tool.pytest.ini_options]

Tests

  • node ./cli.js check --schema-name=partial-pytest.json
  • node ./cli.js check --schema-name=pyproject.json
  • npx prettier --config .prettierrc.cjs --ignore-path .gitignore --check src/schemas/json/partial-pytest.json src/test/pyproject/pytest-ini-options.toml
  • npm run typecheck

Fixes #5278

@github-actions
Copy link
Copy Markdown
Contributor

Thanks for the PR!

This section of the codebase is owned by @madskristensen and @hyperupcall - if they write a comment saying "LGTM" then it will be merged.

@hyperupcall
Copy link
Copy Markdown
Member

Thanks

@hyperupcall hyperupcall merged commit b5a375a into SchemaStore:master May 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pytest ini_options schema marked as deprecated for pytest < 9.0

2 participants