Skip to content

chore: use pytest's new strict mode and fix duplicate tests#932

Merged
radoering merged 1 commit intopython-poetry:mainfrom
radoering:pytest-strict
Apr 19, 2026
Merged

chore: use pytest's new strict mode and fix duplicate tests#932
radoering merged 1 commit intopython-poetry:mainfrom
radoering:pytest-strict

Conversation

@radoering
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey - I've left some high level feedback:

  • The pytest configuration in pyproject.toml should likely use the [tool.pytest.ini_options] table (e.g. strict = true under that section) rather than [tool.pytest], otherwise the new strict setting may be ignored by pytest.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The pytest configuration in pyproject.toml should likely use the `[tool.pytest.ini_options]` table (e.g. `strict = true` under that section) rather than `[tool.pytest]`, otherwise the new strict setting may be ignored by pytest.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@radoering radoering merged commit fca2298 into python-poetry:main Apr 19, 2026
19 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.

1 participant