chore: update dependencies#53
Merged
Merged
Conversation
Co-authored-by: Claude <noreply@anthropic.com>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR updates pre-commit tool dependencies (ruff, pyupgrade, mypy) and aligns pyupgrade’s target Python version with the project’s current baseline. Sequence diagram for updated pre_commit hooks (ruff, pyupgrade, mypy)sequenceDiagram
actor Developer
participant Git
participant PreCommit
participant Ruff
participant Pyupgrade
participant Mypy
Developer->>Git: git commit
Git->>PreCommit: run configured hooks
PreCommit->>Ruff: ruff-check (rev v0_15_22)
PreCommit->>Pyupgrade: pyupgrade --py311-plus (rev v3_21_2)
PreCommit->>Mypy: mypy (rev v2_3_0)
Mypy-->>PreCommit: type_check_result
Pyupgrade-->>PreCommit: code_upgrade_result
Ruff-->>PreCommit: lint_result
PreCommit-->>Git: allow or reject commit based on results
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #53 +/- ##
=======================================
Coverage 84.57% 84.57%
=======================================
Files 58 58
Lines 4783 4783
Branches 496 496
=======================================
Hits 4045 4045
Misses 496 496
Partials 242 242
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- Confirm that the project’s officially supported minimum Python version is 3.11+ before changing pyupgrade to
--py311-plus, as this may introduce syntax incompatible with any environments still on earlier Python versions.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Confirm that the project’s officially supported minimum Python version is 3.11+ before changing pyupgrade to `--py311-plus`, as this may introduce syntax incompatible with any environments still on earlier Python versions.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
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.
Summary by Sourcery
Update pre-commit tooling to newer versions and align Python target version for code quality checks.
Build: