Skip to content

tidy: use --bless for tidy spellcheck instead of spellcheck:fix#143493

Merged
bors merged 3 commits into
rust-lang:masterfrom
lolbinarycat:tidy-spellcheck-bless
Jul 6, 2025
Merged

tidy: use --bless for tidy spellcheck instead of spellcheck:fix#143493
bors merged 3 commits into
rust-lang:masterfrom
lolbinarycat:tidy-spellcheck-bless

Conversation

@lolbinarycat

Copy link
Copy Markdown
Contributor

previous behavior was inconsistent with existing extra checks.

unsure if this needs a change tracker entry or a warning for people who try to use the old behavior.

unsure if we should call this spellcheck:lint for consistency.

making this consistent is a prerequisite for #143398

cc @nnethercote

r? @Kobzol

previous behavior was inconsistent with existing extra checks.
@rustbot rustbot added A-tidy Area: The tidy tool S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Jul 5, 2025
@rustbot

rustbot commented Jul 5, 2025

Copy link
Copy Markdown
Collaborator

There are changes to the tidy tool.

cc @jieyouxu

@Kobzol Kobzol left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice cleanup, thanks! Yes, please include a Warning change tracker entry, even though I suspect not many people use this. You can r=me after that (and green CI).

@klensy

klensy commented Jul 5, 2025

Copy link
Copy Markdown
Contributor

Why spellcheck:fix should use --bless but not py:fmt, cpp:fmt? This options all mutate files.

Ahh, my bad, found bless in py:fmt and cpp:fmt.

Comment thread src/bootstrap/src/utils/change_tracker.rs Outdated
@klensy

klensy commented Jul 5, 2025

Copy link
Copy Markdown
Contributor

And need to regenerate completions after #143452.

@Kobzol

Kobzol commented Jul 5, 2025

Copy link
Copy Markdown
Member

There should be no need for that, as the documentation of Clap flags (and thus CLI help output) wasn't changed.

@lolbinarycat

lolbinarycat commented Jul 5, 2025

Copy link
Copy Markdown
Contributor Author

@Kobzol done, want me to squash the last 2 together?

Update: squashed it anyways, it makes more sense that way I think.

@lolbinarycat lolbinarycat force-pushed the tidy-spellcheck-bless branch from 1ab0518 to 9f78173 Compare July 5, 2025 20:24
@Kobzol

Kobzol commented Jul 5, 2025

Copy link
Copy Markdown
Member

Thanks! You can r=me once CI is green.

@lolbinarycat

Copy link
Copy Markdown
Contributor Author

@Kobzol i don't have bors perms yet, do you want to delegate the pr?

@Kobzol

Kobzol commented Jul 5, 2025

Copy link
Copy Markdown
Member

Ooh, I see, sorry! Here you go :)

@bors delegate+

@bors

bors commented Jul 5, 2025

Copy link
Copy Markdown
Collaborator

✌️ @lolbinarycat, you can now approve this pull request!

If @Kobzol told you to "r=me" after making some further change, please make that change, then do @bors r=@Kobzol

@lolbinarycat

Copy link
Copy Markdown
Contributor Author

@bors r=@Kobzol

@bors

bors commented Jul 6, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit 9f78173 has been approved by Kobzol

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 6, 2025
bors added a commit that referenced this pull request Jul 6, 2025
Rollup of 6 pull requests

Successful merges:

 - #143416 (mbe: Defer checks for `compile_error!` until reporting an unused macro rule)
 - #143470 (std: sys: net: uefi: tcp4: Implement read)
 - #143477 (use `is_multiple_of` and `div_ceil`)
 - #143484 (distinguish the duplicate item of rpitit)
 - #143493 (tidy: use --bless for tidy spellcheck instead of spellcheck:fix)
 - #143504 (compiletest: print slightly more information on fs::write failure)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit e25654f into rust-lang:master Jul 6, 2025
11 checks passed
@rustbot rustbot added this to the 1.90.0 milestone Jul 6, 2025
rust-timer added a commit that referenced this pull request Jul 6, 2025
Rollup merge of #143493 - lolbinarycat:tidy-spellcheck-bless, r=Kobzol

tidy: use --bless for tidy spellcheck instead of spellcheck:fix

previous behavior was inconsistent with existing extra checks.

unsure if this needs a change tracker entry or a warning for people who try to use the old behavior.

unsure if we should call this `spellcheck:lint` for consistency.

making this consistent is a prerequisite for #143398

cc `@nnethercote`

r? `@Kobzol`
Kobzol pushed a commit to Kobzol/portable-simd that referenced this pull request Feb 3, 2026
Rollup of 6 pull requests

Successful merges:

 - rust-lang/rust#143416 (mbe: Defer checks for `compile_error!` until reporting an unused macro rule)
 - rust-lang/rust#143470 (std: sys: net: uefi: tcp4: Implement read)
 - rust-lang/rust#143477 (use `is_multiple_of` and `div_ceil`)
 - rust-lang/rust#143484 (distinguish the duplicate item of rpitit)
 - rust-lang/rust#143493 (tidy: use --bless for tidy spellcheck instead of spellcheck:fix)
 - rust-lang/rust#143504 (compiletest: print slightly more information on fs::write failure)

r? `@ghost`
`@rustbot` modify labels: rollup
Kobzol pushed a commit to Kobzol/portable-simd that referenced this pull request Feb 3, 2026
Rollup of 6 pull requests

Successful merges:

 - rust-lang/rust#143416 (mbe: Defer checks for `compile_error!` until reporting an unused macro rule)
 - rust-lang/rust#143470 (std: sys: net: uefi: tcp4: Implement read)
 - rust-lang/rust#143477 (use `is_multiple_of` and `div_ceil`)
 - rust-lang/rust#143484 (distinguish the duplicate item of rpitit)
 - rust-lang/rust#143493 (tidy: use --bless for tidy spellcheck instead of spellcheck:fix)
 - rust-lang/rust#143504 (compiletest: print slightly more information on fs::write failure)

r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-tidy Area: The tidy tool S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants