Skip to content

Install rustfmt before linting releases - #28495

Merged
ntBre merged 1 commit into
mainfrom
brent/prepare-release-rustfmt
Sep 10, 2026
Merged

ntBre merged 1 commit into
mainfrom
brent/prepare-release-rustfmt

Conversation

@ntBre

@ntBre ntBre commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes the prek step in the prepare release workflow:

https://github.com/astral-sh/ruff/actions/runs/34504504512/job/102963217706

I was surprised prek didn't handle this, but I guess that's how we defined the hook:

- repo: local
hooks:
- id: rustfmt
name: rustfmt
entry: rustfmt
language: system
types: [rust]
priority: 0

Test Plan

Preparing today's release

Summary
--

Fixes the prek step in the prepare release workflow:

https://github.com/astral-sh/ruff/actions/runs/34504504512/job/102963217706

Test Plan
--

Preparing today's release
@ntBre ntBre added the release Related to the release process (not for changelogs) label Sep 10, 2026
@ntBre
ntBre requested a review from ewdurbin September 10, 2026 16:58
@ntBre
ntBre merged commit 5992d05 into main Sep 10, 2026
49 checks passed
@ntBre
ntBre deleted the brent/prepare-release-rustfmt branch September 10, 2026 17:12
@ntBre ntBre added the internal An internal refactor or improvement (not for changelogs) label Sep 10, 2026
carljm added a commit that referenced this pull request Sep 11, 2026
…aliases

* origin/main: (30 commits)
  [ty] Respect instance dictionary storage for slotted classes (#27749)
  Add a GitHub repository threat model for Ruff (#28395)
  [ty] Preserve wrapped signatures in nominal descriptor checks (#28466)
  [ty] Avoid rebinding extracted method calls (#28469)
  Recognize quoted types in `typing.TypeForm` (#28507)
  Support conditional assignment to `__lazy_modules__` (#28491)
  Add support for `__lazy_modules__` (#28459)
  [`pyupgrade`] Stop recommending deprecated `ByteString` aliases (`UP035`) (#28498)
  [ty] Anchor default exclude patterns at the project root (#28463)
  [ty] Add playground command to toggle inlay hints (#28517)
  [ty] Ignore divergent markers when detecting descriptors (#28514)
  [ty] Reuse rendered union elements when displaying types (#28494)
  [ty] Fix assignability of bounded typevars to intersection types (#28479)
  [ty] Retain package listings between resolution steps (#28278)
  Add accessors for comparison expressions (#28485)
  [ty] Refactor module resolution to use a `ModuleDirectory` abstraction. (#28418)
  [ty] Reduce retained AST memory by shrinking expressions (#28335)
  Bump version to 0.16.7 (#28496)
  Install rustfmt before linting releases (#28495)
  ensure prepare release changes pass prek (#28488)
  ...

# Conflicts:
#	crates/ty_python_semantic/src/types/bool.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal An internal refactor or improvement (not for changelogs) release Related to the release process (not for changelogs)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant