Package updates and move to poetry and replace ruff#3
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR migrates the project’s Python tooling from uv + ruff to poetry + black/isort/flake8, and updates the Nix devshell + CI to use the new workflow.
Changes:
- Remove
uv.lockusage and update docs/commands topoetry install+poetry run … - Replace Ruff lint/format with Black + isort + Flake8 (including Flake8 plugins) and update pre-commit hooks accordingly
- Update Nix devshell commands and GitHub Actions CI to run Poetry-based lint/test commands
Reviewed changes
Copilot reviewed 7 out of 10 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
uv.lock |
Removed uv lockfile as part of the migration to Poetry. |
pyproject.toml |
Adds Poetry build backend + dev dependencies; replaces Ruff config with Black/isort/Flake8 config. |
poetry.toml |
Configures Poetry to create .venv in-project and prefer the active Python. |
devshell.toml |
Switches devshell tooling to Poetry and updates runLint / runTests commands. |
README.md |
Updates setup and developer commands from uv/ruff to poetry/Black/isort/Flake8. |
CLAUDE.md |
Updates developer guidance to reflect Poetry and the new lint/format toolchain. |
.pre-commit-config.yaml |
Replaces Ruff hooks with Black, isort, and Flake8 hooks + plugin dependencies. |
.github/workflows/ci.yml |
Updates CI dependency installation step from uv sync to poetry install. |
💡 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.