Conversation
Replace manual pytest_collection_modifyitems hooks with the https://github.com/adamtheturtle/pytest-beartype-tests dev dependency.
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 95b5a46. Configure here.
| urls.Source = "https://github.com/VWS-Python/vws-python" | ||
|
|
||
| [dependency-groups] | ||
| dev = [] |
There was a problem hiding this comment.
Empty dependency-groups section adds dead configuration
Low Severity
The newly added [dependency-groups] section with dev = [] is empty and serves no purpose. All dev dependencies live in optional-dependencies.dev, and CI uses uv run --extra=dev. This dead configuration could confuse contributors about where dev dependencies are managed, especially since uv sync installs dependency-groups.dev by default — which here resolves to nothing.
Reviewed by Cursor Bugbot for commit 95b5a46. Configure here.


This PR adds the
pytest-beartype-testsdev dependency and removes redundantpytest_collection_modifyitems/@beartypewiring from conftest where it duplicated the plugin.The plugin registers via
pytest11and applies@beartypeto collected test functions, matching the previous local hook behavior (see the upstream README).Note
Low Risk
Low risk: changes are confined to the test configuration and dev dependencies, but could affect CI/test behavior if the plugin differs from the previous hook.
Overview
Replaces the local
pytest_collection_modifyitems+@beartypewiring inconftest.pywith thepytest-beartype-testsplugin to apply runtime type checking to collected tests.Adds
pytest-beartype-teststo dev dependencies (with a pinned gituvsource) and cleans up related config (adds an empty[dependency-groups] deventry and removes the obsolete Vulture ignore forpytest_collection_modifyitems).Reviewed by Cursor Bugbot for commit 95b5a46. Bugbot is set up for automated code reviews on this repo. Configure here.