Conversation
There was a problem hiding this comment.
Pull request overview
This PR migrates the Python project from Poetry to a uv + hatchling toolchain, adds Ruff for linting/formatting, and introduces GitHub Actions workflows for CI, deployment, and stale issue management.
Changes:
- Replace Poetry configuration/lockfile with PEP 621
pyproject.toml,uv.lock, andhatchlingbuild backend. - Add Ruff configuration and wire lint/format into
Makefileand CI. - Add GitHub Actions workflows for CI, tag-based publish, and stale issues; update tests and implementation formatting/error handling.
Reviewed changes
Copilot reviewed 11 out of 14 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
uv.lock |
Adds uv lockfile to pin dependency resolution. |
pyproject.toml |
Migrates project metadata/deps to PEP 621 and switches build backend to hatchling. |
poetry.lock |
Removes Poetry lockfile as part of the migration. |
Makefile |
Updates local workflows to use uv + ruff and adds build/install targets. |
.ruff.toml |
Introduces Ruff lint/format configuration. |
.gitignore |
Expands ignored local/dev artifacts (e.g., .venv/, debug files). |
datashield_opal/impl.py |
Refactors Opal driver implementation (formatting, error chaining, small logic changes). |
datashield_opal/__init__.py |
Minor export adjustment for OpalDriver. |
tests/test_impl.py |
Test refactors (style/assertions, improved exception assertions). |
tests/test_api_analysis.py |
Refactors tests and adds error handling around API calls. |
tests/test_api_admin.py |
Refactors tests for style consistency. |
.github/workflows/ci.yml |
Adds CI to install with uv, run Ruff, and run pytest across Python versions. |
.github/workflows/deploy.yml |
Adds tag-triggered build + publish workflow using uv. |
.github/workflows/stale.yml |
Adds automation to mark/close stale issues. |
💡 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.