Skip to content

ci: [pre-commit.ci] pre-commit autoupdate - #1480

Open
pre-commit-ci[bot] wants to merge 2 commits into
developfrom
pre-commit-ci-update-config
Open

pre-commit-ci[bot] wants to merge 2 commits into
developfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci

@pre-commit-ci pre-commit-ci Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

updates:

Summary by Sourcery

Refresh the pre-commit tooling versions and align affected tests with the updated checks.

CI:

  • Update pre-commit Ruff hooks from v0.16.8 to v0.17.1 and mypy hooks from v2.3.1 to v2.4.0.

Tests:

  • Update test references to use the datetime module alias required by the updated checks.

@coderabbitai

coderabbitai Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository: 4DNucleome/PartSeg/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 201f33e9-52ef-472e-9a1e-8a6c6dfab2f0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sourcery-ai

sourcery-ai Bot commented Sep 28, 2026 •

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

Reviewer's Guide

The pre-commit configuration updates the Ruff hook repository from v0.16.8 to v0.16.9, refreshing the versions used by the ruff-check and ruff-format hooks.

File-Level Changes

Change Details Files
Update the pinned Ruff pre-commit hook revision.
  • Upgrade Ruff from v0.16.8 to v0.16.9 for both linting and formatting hooks.
.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
Contributor

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@Czaki Czaki added this to the 0.17.1 milestone Sep 30, 2026
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from 17e36c4 to 4088b6f Compare October 12, 2026 23:01
@codecov

codecov Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.60%. Comparing base (926c918) to head (94d186a).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1480   +/-   ##
========================================
  Coverage    92.60%   92.60%           
========================================
  Files          211      211           
  Lines        33248    33248           
========================================
  Hits         30789    30789           
  Misses        2459     2459           

☔ 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.

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.16.8 → v0.17.1](astral-sh/ruff-pre-commit@v0.16.8...v0.17.1)
- [github.com/pre-commit/mirrors-mypy: v2.3.1 → v2.4.0](pre-commit/mirrors-mypy@v2.3.1...v2.4.0)
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 4088b6f to 18ed71c Compare October 19, 2026 23:00
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant