Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fixes auto-run js checks in tidy #146151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
FrancescoV1985 wants to merge 2 commits into rust-lang:master
base: master
Choose a base branch
Loading
from FrancescoV1985:issue-146047-fix

Conversation

Copy link

@FrancescoV1985 FrancescoV1985 commented Sep 3, 2025

Modified is_non_auto_or_matches function in src/tools/tidy/src/extra_checks/mod.rs so that .ts extension is considered.
Tested locally with
./x.py test tidy --extra-checks=auto:js

Copy link
Collaborator

rustbot commented Sep 3, 2025

r? @Kobzol

rustbot has assigned @Kobzol.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@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 Sep 3, 2025
Copy link
Collaborator

rustbot commented Sep 3, 2025

tidy extra checks were modified.

cc @lolbinarycat

Copy link
Member

Kobzol commented Sep 3, 2025

Hi, I'm not aware of any .ts files (that do not come from subtrees/submodules) that we have in the repo, can you point me to them if you found some?

Copy link
Author

FrancescoV1985 commented Sep 3, 2025
edited
Loading

Hello @Kobzol. In my case, I deliberately (temporary) modified .ts files (e.g. ./src/tools/rust-analyzer/editors/code/src/lang_client.ts) under the repo, as I do not see alternatives...

Copy link
Member

Kobzol commented Sep 3, 2025

Right, but the files under rust-analyzer and rustc-perf are not managed by this repository, and we thus shouldn't make any changes to them (in fact they are ignored by tidy). So until we actually have some TypeScript files in this repo, I don't think this is needed, tbh 😅

Copy link
Author

FrancescoV1985 commented Sep 3, 2025
edited
Loading

Right, but the files under rust-analyzer and rustc-perf are not managed by this repository, and we thus shouldn't make any changes to them (in fact they are ignored by tidy). So until we actually have some TypeScript files in this repo, I don't think this is needed, tbh 😅

I understand your point..

Copy link
Member

fmease commented Sep 3, 2025

lolbinarycat reacted with thumbs up emoji

Copy link
Member

Kobzol commented Sep 3, 2025

Ok, fair enough!

Copy link
Member

Kobzol commented Sep 4, 2025

Thanks!

@bors r+ rollup

FrancescoV1985 reacted with thumbs up emoji

Copy link
Collaborator

bors commented Sep 4, 2025

📌 Commit 858414b 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 Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@Kobzol Kobzol Kobzol left review comments

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
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /