Skip to content

ci: pre-commit auto-update - #305

Open
pre-commit-ci[bot] wants to merge 1 commit into
masterfrom
pre-commit-ci-update-config
Open

ci: pre-commit auto-update#305
pre-commit-ci[bot] wants to merge 1 commit into
masterfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci

@pre-commit-ci pre-commit-ci Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

updates:

Summary by Sourcery

Update pre-commit hook versions for linting and packaging checks.

Build:

  • Bump ruff-pre-commit hook from v0.15.21 to v0.15.22 in .pre-commit-config.yaml.
  • Bump pyroma pre-commit hook from 5.0.1 to 5.1b1 in .pre-commit-config.yaml.

@sourcery-ai

sourcery-ai Bot commented Jul 20, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates pre-commit hook versions for Ruff and Pyroma to newer releases in .pre-commit-config.yaml, keeping the hook set the same while tracking upstream tool updates.

File-Level Changes

Change Details Files
Bump Ruff pre-commit hook to the latest patch version while keeping the same hooks enabled.
  • Update ruff-pre-commit revision from v0.15.21 to v0.15.22 in the pre-commit configuration
  • Retain existing ruff-check and ruff-format hooks without configuration changes
.pre-commit-config.yaml
Update Pyroma pre-commit hook to the latest beta release without altering its hook configuration.
  • Change pyroma revision from 5.0.1 to 5.1b1 in the pre-commit configuration
  • Keep pyroma hook and its additional dependency on poetry unchanged
.pre-commit-config.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've left some high level feedback:

  • Consider whether upgrading pyroma to a beta version (5.1b1) is intentional for CI, and if not, pin to a stable release to avoid unexpected behavior from pre-release changes.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Consider whether upgrading `pyroma` to a beta version (`5.1b1`) is intentional for CI, and if not, pin to a stable release to avoid unexpected behavior from pre-release changes.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@codecov

codecov Bot commented Jul 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.67%. Comparing base (c870908) to head (e2dd010).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #305   +/-   ##
=======================================
  Coverage   78.67%   78.67%           
=======================================
  Files           6        6           
  Lines         830      830           
  Branches      143      143           
=======================================
  Hits          653      653           
  Misses        138      138           
  Partials       39       39           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.21 → v0.16.0](astral-sh/ruff-pre-commit@v0.15.21...v0.16.0)
- [github.com/regebro/pyroma: 5.0.1 → 5.1b1](regebro/pyroma@5.0.1...5.1b1)
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from a5d57b1 to e2dd010 Compare July 27, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants