Skip to content

Update pytest config to native TOML format from v9 - #10035

Merged
browniebroke merged 1 commit into
encode:mainfrom
browniebroke:chore/pytest-9-toml-config
Sep 6, 2026
Merged

Update pytest config to native TOML format from v9#10035
browniebroke merged 1 commit into
encode:mainfrom
browniebroke:chore/pytest-9-toml-config

Conversation

@browniebroke

Copy link
Copy Markdown
Collaborator

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃煝 Approval recommended

The change cleanly updates pytest configuration to the pytest v9 native TOML format without altering the effective test options.

Pull request overview

Updates the project鈥檚 pytest configuration in pyproject.toml to use pytest v9鈥檚 native TOML configuration table, enabling structured TOML types (notably using an array for addopts) while preserving the existing test options and paths.

Changes:

  • Migrate pytest configuration table from [tool.pytest.ini_options] to [tool.pytest] (pytest v9 native TOML).
  • Convert addopts from a single string into a TOML array of arguments.
  • Keep existing testpaths, markers, and filterwarnings settings under the new table.
File summaries
File Description
pyproject.toml Moves pytest config to pytest v9 native TOML table and represents addopts as a TOML array.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@auvipy
auvipy self-requested a review September 6, 2026 13:55
@browniebroke
browniebroke merged commit 3157a6a into encode:main Sep 6, 2026
7 checks passed
@browniebroke
browniebroke deleted the chore/pytest-9-toml-config branch September 6, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants