build(tooling): switch to uv; add agent instructions#112
Open
emptymalei wants to merge 9 commits intomainfrom
Open
build(tooling): switch to uv; add agent instructions#112emptymalei wants to merge 9 commits intomainfrom
emptymalei wants to merge 9 commits intomainfrom
Conversation
Contributor
|
uv need to sync the dependencies in actions #111
There was a problem hiding this comment.
Pull request overview
Switches the repo’s Python packaging/tooling from Poetry to uv (with Hatchling as build backend), updates CI workflows accordingly, and adds GitHub Copilot agent instructions to the repository.
Changes:
- Migrate
pyproject.tomlfrom[tool.poetry]to PEP 621[project], add dependency groups, and switch build backend to Hatchling. - Update GitHub Actions workflows to use
astral-sh/setup-uv,uv sync,uv run, anduv build/publish. - Add
.github/copilot-instructions.mdwith repo-specific development guidelines.
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Replaces Poetry config with PEP 621 project metadata, dependency groups, and Hatchling build backend. |
| .github/workflows/tests.yaml | Switches CI test install/run steps from Poetry to uv. |
| .github/workflows/publish.yaml | Switches build/publish pipeline from Poetry to uv build + uv publish. |
| .github/workflows/docs-publish.yaml | Updates docs build step to run MkDocs via uv. |
| .github/workflows/docs-preview.yaml | Updates docs preview build step to run MkDocs via uv and bumps preview action version. |
| .github/copilot-instructions.md | Adds repository-specific Copilot instructions (style, tooling, testing conventions). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
|
it doesn't make sense to have pre-commit before building docs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
3 tasks
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.
Resolves #111