Skip to content

fix: Reformat code with Ruff 0.16.0#1268

Open
tiran wants to merge 1 commit into
python-wheel-build:mainfrom
tiran:ruff-0.16
Open

fix: Reformat code with Ruff 0.16.0#1268
tiran wants to merge 1 commit into
python-wheel-build:mainfrom
tiran:ruff-0.16

Conversation

@tiran

@tiran tiran commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Pull Request Description

What

Reformat code with latest Ruff. Ruff 0.16.0 enables more checkers by default and can now format code in Markdown files, too.

Why

See https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md

@tiran
tiran requested a review from a team as a code owner July 24, 2026 13:50
@coderabbitai

coderabbitai Bot commented Jul 24, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@tiran, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 55 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 773694bf-df51-4f4c-a977-f0387eb773fc

📥 Commits

Reviewing files that changed from the base of the PR and between 5cf74fb and 066ba78.

📒 Files selected for processing (5)
  • docs/customization.md
  • docs/http-retry.md
  • docs/proposals/new-resolver-config.md
  • docs/proposals/wheel-build-tag-hook.md
  • src/fromager/packagesettings/_pbi.py
📝 Walkthrough

Walkthrough

Documentation code examples are reformatted across customization, HTTP retry, resolver configuration, and wheel build tag hook proposals. The changes adjust whitespace, line wrapping, and compactness while preserving shown logic and type contracts. The _plugin_module union annotation in PackageBuildInfo is reordered without changing its default value or runtime behavior.

Estimated code review effort: 1 (Trivial) | ~3 minutes

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title accurately summarizes the main change: reformatting code with Ruff 0.16.0.
Description check ✅ Passed The description matches the changeset and explains the Ruff 0.16.0 formatting update.

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.

Ruff 0.16.0 enables more checkers by default and can now format code in
Markdown files, too.

See: https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md
Signed-off-by: Christian Heimes <cheimes@redhat.com>
@tiran tiran changed the title Reformat code with Ruff 0.16.0 fix: Reformat code with Ruff 0.16.0 Jul 24, 2026
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