Skip to content

fix: Reformat code with Ruff 0.16.0 - #1268

Merged
LalatenduMohanty merged 1 commit into
python-wheel-build:mainfrom
tiran:ruff-0.16
Jul 30, 2026
Merged

fix: Reformat code with Ruff 0.16.0#1268
LalatenduMohanty merged 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

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 4c485803-d22e-4cfc-8ffc-6416edd78642

📥 Commits

Reviewing files that changed from the base of the PR and between 5cf74fb and 750edbb.

📒 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
🚧 Files skipped from review as they are similar to previous changes (4)
  • src/fromager/packagesettings/_pbi.py
  • docs/proposals/wheel-build-tag-hook.md
  • docs/proposals/new-resolver-config.md
  • docs/customization.md

📝 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
Title check ✅ Passed The title clearly matches the main change: reformatting code with Ruff 0.16.0.
Description check ✅ Passed The description accurately describes the Ruff-based reformatting and Markdown formatting updates.
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.

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.

@tiran tiran changed the title Reformat code with Ruff 0.16.0 fix: Reformat code with Ruff 0.16.0 Jul 24, 2026
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>

@rd4398 rd4398 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.

LGTM!

@mergify

mergify Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@mergify

mergify Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

queue

⚠️ Configuration not compatible with a branch protection setting

Details

The branch protection setting Require branches to be up to date before merging is not compatible with draft PR checks. To keep this branch protection enabled, update your Mergify configuration to enable in-place checks: set merge_queue.max_parallel_checks: 1, set every queue rule batch_size: 1, and avoid two-step CI (make merge_conditions identical to queue_conditions). Otherwise, disable this branch protection.

@LalatenduMohanty
LalatenduMohanty merged commit 8e0167d into python-wheel-build:main Jul 30, 2026
39 checks passed
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.

3 participants