Skip to content

Migrate from poetry to uv and from black to ruff#60

Merged
eecavanna merged 4 commits intomainfrom
58-switch-from-poetry-to-uv-and-from-black-to-ruff
Aug 31, 2025
Merged

Migrate from poetry to uv and from black to ruff#60
eecavanna merged 4 commits intomainfrom
58-switch-from-poetry-to-uv-and-from-black-to-ruff

Conversation

@eecavanna
Copy link
Collaborator

@eecavanna eecavanna commented Aug 31, 2025

On this branch, I migrated the codebase from using Poetry as its package manager to using uv, and from using black as its code formatter to using ruff. I updated all documentation and GitHub Actions workflows accordingly. I also documented the use of ruff as a linter, since it provides that functionality (unlike black). Finally, I formatted the code by running $ uv run ruff format.

@eecavanna eecavanna self-assigned this Aug 31, 2025
@eecavanna eecavanna linked an issue Aug 31, 2025 that may be closed by this pull request
@eecavanna eecavanna changed the title Migrate from poetry to uv (as dependency manager and build system) Migrate from poetry to uv and from black to ruff Aug 31, 2025
@eecavanna eecavanna requested a review from Copilot August 31, 2025 21:21
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates the project from Poetry to uv as the package manager and from black to ruff for code formatting and linting. The migration updates all tooling configuration, documentation, and CI/CD workflows to use the new tools.

Key changes include:

  • Complete migration from Poetry to uv package management with updated dependency specifications and build configuration
  • Replacement of black with ruff for both code formatting and linting functionality
  • Updated documentation and GitHub Actions workflows to reflect the new tooling

Reviewed Changes

Copilot reviewed 10 out of 12 changed files in this pull request and generated 2 comments.

File Description
pyproject.toml Complete restructure from Poetry format to modern Python packaging with uv build backend and ruff configuration
README.md Updated development instructions to use uv commands instead of Poetry and documented ruff usage
.github/workflows/*.yml Migrated CI workflows from Poetry/Python setup to uv with proper caching configuration
refscan/*.py Code formatting changes applied by ruff format removing extra blank lines

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@eecavanna eecavanna merged commit c915365 into main Aug 31, 2025
5 checks passed
@eecavanna eecavanna deleted the 58-switch-from-poetry-to-uv-and-from-black-to-ruff branch August 31, 2025 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch from poetry to uv and from black to ruff

2 participants