Conversation
Replace manual pytest_collection_modifyitems hooks with the https://github.com/adamtheturtle/pytest-beartype-tests dev dependency. Made-with: Cursor
Use git+https dependency until the next PyPI release includes adamtheturtle/pytest-beartype-tests@bc81d99.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 43b5b51. Configure here.
| urls.Source = "https://github.com/VWS-Python/vws-python-mock" | ||
|
|
||
| [dependency-groups] | ||
| dev = [] |
There was a problem hiding this comment.
Empty dependency-groups dev shadows optional-dependencies dev
Low Severity
The newly added [dependency-groups] section with dev = [] is empty and serves no apparent purpose. All CI workflows use uv run --extra=dev, which references optional-dependencies.dev. This empty group creates a trap: a future developer running uv sync --group dev would get zero dependencies installed instead of the full dev set. The PR description doesn't mention this addition, suggesting it may be unintentional.
Reviewed by Cursor Bugbot for commit 43b5b51. Configure here.


This PR adds the
pytest-beartype-testsdev dependency and removes redundantpytest_collection_modifyitemswiring from conftest where it duplicated the plugin.The dependency is pinned to git
bc81d99via[tool.uv.sources]until a PyPI release includes the Sybil-safe plugin fix.Made with Cursor
Note
Medium Risk
Low impact on production code, but it changes the test collection/runtime behavior and introduces a git-pinned pytest plugin dependency, which could affect CI stability and reproducibility.
Overview
Shifts
beartypeenforcement for tests from a custompytest_collection_modifyitemshook inconftest.pyto the externalpytest-beartype-testsplugin (removing the redundant collection-time wrapping).Adds
pytest-beartype-teststo dev dependencies and configuresuvto install it from a specific git revision (bc81d99), plus introduces an empty[dependency-groups]/devgroup entry inpyproject.toml.Reviewed by Cursor Bugbot for commit 43b5b51. Bugbot is set up for automated code reviews on this repo. Configure here.