-
-
Notifications
You must be signed in to change notification settings - Fork 562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pre-commit.ci] pre-commit autoupdate #3796
base: main
Are you sure you want to change the base?
Conversation
Reviewer's Guide by SourceryThis pull request updates the ruff-pre-commit hook to the latest version (v0.9.9) in the .pre-commit-config.yaml file. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. It seems to have been created by a bot (hey, pre-commit-ci[bot]!). We assume it knows what it's doing!
e6b6eca
to
cc3c1ac
Compare
cc3c1ac
to
e82155b
Compare
Apollo Federation Subgraph Compatibility Results
Learn more: |
Hi, thanks for contributing to Strawberry 🍓! We noticed that this PR is missing a So as soon as this PR is merged, a release will be made 🚀. Here's an example of Release type: patch
Description of the changes, ideally with some examples, if adding a new feature. Release type can be one of patch, minor or major. We use semver, so make sure to pick the appropriate type. If in doubt feel free to ask :) Here's the tweet text:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3796 +/- ##
=======================================
Coverage 97.23% 97.23%
=======================================
Files 503 503
Lines 33580 33580
Branches 1717 1717
=======================================
Hits 32653 32653
Misses 708 708
Partials 219 219 🚀 New features to boost your workflow:
|
CodSpeed Performance ReportMerging #3796 will not alter performanceComparing Summary
|
updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.7 → v0.11.2](astral-sh/ruff-pre-commit@v0.9.7...v0.11.2)
c26da35
to
8643921
Compare
for more information, see https://pre-commit.ci
…update-config`) Sure, here is a more optimized version of the given Python code. ### Changes made. 1. Replaced the list comprehension for collecting all model fields with a for loop to avoid accumulating unnecessary tuples. 2. Combined the `extra_fields` and `private_fields` into a single list before iterating and directly appending to `all_model_fields`. 3. Removed redundant list comprehensions, improving readability and potentially enhancing performance with clearer and more straightforward iteration constructs.
⚡️ Codeflash found optimizations for this PR📄 97% (0.97x) speedup for
|
updates:
Summary by Sourcery
Chores: