Skip to content

chore: migrate to uv+ruff#70

Merged
srbouffard merged 8 commits into
mainfrom
auto/uv+ruff
Dec 19, 2025
Merged

chore: migrate to uv+ruff#70
srbouffard merged 8 commits into
mainfrom
auto/uv+ruff

Conversation

@weiiwang01

Copy link
Copy Markdown
Contributor

Automatic pull request to migrate the Python project to use uv, tox-uv, and ruff for building, testing and linting.

The changes include:

  • Merge requirements.txt into pyproject.toml
  • Migrate tox.ini to tox.toml
  • Replace tox with tox-uv
  • Use ruff for linting and formatting, replacing flake8, pylint, black, and isort
  • Fix some linting issue discovered by ruff

@weiiwang01

Copy link
Copy Markdown
Contributor Author

@copilot Please fix any unit test or linting issues caused by the migration to uv and ruff in this pull request.

  • For unit test failures, update the tests while preserving the original intention of each test as much as possible.
  • For linting failures:
    • If the lint rule is reasonable in the context, update the source code to satisfy the lint check.
    • If the lint rule is not reasonable in this context, disable the specific lint check with an inline ignore comment. If the reason is not obvious, add a brief comment explaining why the lint check is being disabled.

You can run the relevant checks by invoking the unit,lint,static environment of tox-uv.

1 similar comment
@weiiwang01

Copy link
Copy Markdown
Contributor Author

@copilot Please fix any unit test or linting issues caused by the migration to uv and ruff in this pull request.

  • For unit test failures, update the tests while preserving the original intention of each test as much as possible.
  • For linting failures:
    • If the lint rule is reasonable in the context, update the source code to satisfy the lint check.
    • If the lint rule is not reasonable in this context, disable the specific lint check with an inline ignore comment. If the reason is not obvious, add a brief comment explaining why the lint check is being disabled.

You can run the relevant checks by invoking the unit,lint,static environment of tox-uv.

Copilot AI mentioned this pull request Nov 27, 2025
6 tasks

Copilot AI commented Nov 27, 2025

Copy link
Copy Markdown

@weiiwang01 I've opened a new pull request, #71, to work on those changes. Once the pull request is ready, I'll request review from you.

@srbouffard srbouffard requested a review from a team as a code owner December 17, 2025 20:16
@srbouffard srbouffard merged commit c8b2468 into main Dec 19, 2025
19 checks passed
@srbouffard srbouffard deleted the auto/uv+ruff branch December 19, 2025 17:04
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.

4 participants