Dependency groups and uv run

I've adopted a new (to me) pattern for my Python projects to make them easier to hack on using uv run . I'm using a PEP 735 dependency group called dev to declare my development dependencies - in particular pytest - such that running uv run pytest executes the tests for my project without me having to even think about setting up a virtual environment first. Here's the pattern I'm using. I start by…