Add Ruff and update uv - #76
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds Ruff linting and formatting while updating uv tooling and CI coverage.
Changes:
- Adds Ruff configuration and reformats Python sources and tests.
- Adds static checks and Python 3.14 to CI.
- Updates uv, lockfile, and license metadata.
Reviewed changes
Copilot reviewed 24 out of 25 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
uv.lock |
Locks Ruff and updated dependencies. |
pyproject.toml |
Configures Ruff and updates build metadata. |
.github/workflows/python-tests.yml |
Removes the superseded test workflow. |
.github/workflows/python-checks.yml |
Adds tests, linting, and formatting checks. |
.git-blame-ignore-revs |
Excludes the formatting commit from blame. |
src/bigc/api.py |
Applies Ruff formatting. |
src/bigc/api_client.py |
Formats code and modernizes imports. |
src/bigc/exceptions.py |
Formats code and sorts exports. |
src/bigc/data/order_status.py |
Applies Ruff formatting. |
src/bigc/resources/carts_v3.py |
Applies Ruff formatting. |
src/bigc/resources/categories_v3.py |
Formats code and modernizes imports. |
src/bigc/resources/checkouts_v3.py |
Applies Ruff formatting. |
src/bigc/resources/currencies_v2.py |
Formats code and modernizes imports. |
src/bigc/resources/customer_groups_v2.py |
Formats code and modernizes imports. |
src/bigc/resources/customers_v3.py |
Formats code and modernizes imports. |
src/bigc/resources/orders_v2.py |
Formats code and modernizes imports. |
src/bigc/resources/orders_v3.py |
Formats code and modernizes imports. |
src/bigc/resources/pricing_v3.py |
Formats code and modernizes imports. |
src/bigc/resources/product_variants_v3.py |
Formats code and modernizes imports. |
src/bigc/resources/products_v3.py |
Formats code and modernizes imports. |
src/bigc/resources/webhooks_v3.py |
Formats code and modernizes imports. |
tests/test_api.py |
Reformats API tests. |
tests/test_api_client.py |
Reformats tests and removes an unused import. |
tests/test_exceptions.py |
Reformats exception tests. |
tests/test_utils.py |
Reformats utility tests. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
alhadad-nixs
approved these changes
Aug 18, 2026
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.
Adds Ruff as a formatter and linter. Also updated the expected uv version to the latest.
The linter config is pretty much the default, with the exception of disabling
F401for__init__.py.Closes SHIP-966