update development setup with uv and adjust dependencies in pyproject.toml#398
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the project’s development setup to support uv and PEP 735-style dependency groups, aligning docs and CI installation commands with the new dependency organization.
Changes:
- Move
mypyinto adevdependency group and introduce[dependency-groups]inpyproject.toml. - Update contributor/developer documentation to recommend
uvand adjust example install/tooling commands. - Add
.python-version(Python 3.12) and ignoreuvvirtualenv/lock artifacts; update CI to install dev dependencies via--group dev.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Updates listed dependency name and adds uv-based development setup guidance. |
| pyproject.toml | Introduces [dependency-groups] and places mypy under the dev group. |
| CONTRIBUTING.md | Refreshes wording and updates setup/tooling commands to show uv and pip --group usage. |
| .python-version | Pins the development Python version to 3.12. |
| .gitignore | Adds ignores for uv artifacts (.venv/, uv.lock) and removes a duplicate entry. |
| .github/workflows/pytest.yml | Updates CI install command to use --group dev with the rdd extra. |
Comments suppressed due to low confidence (1)
.github/workflows/pytest.yml:53
- Since
pip install -e ".[rdd]" --group devalready installspre-commit(it’s in thedevdependency group), the subsequentpip install pre-commitis redundant and adds time/variance to CI. You can invokepre-commitdirectly in the next step.
pip install -e ".[rdd]" --group dev
- name: Run pre-commit checks
run: |
pip install pre-commit
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.