-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Don't skip all directories when tidy-checking #109440
Conversation
r? @ozkanonur (rustbot has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, sorry 😅 good catch.
I don't think we need to pass is_dir
into every check though, that calls path.metadata
a lot more than it used to. It should be enough to call path.is_dir
in the style check only.
The code never calls |
Ah I see, Ok, I still have a mild preference for the smaller change, but this is fine too - r=me with or without it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@WaffleLapkin Are you planning to make any change on the PR? I will queue the PR otherwise. Also please squash the commits. |
d3519b5
to
285fec8
Compare
@ozkanonur I don't... Maybe a better solution would be to pass the @bors r=jyn514,ozkanonur |
…yn514,ozkanonur Don't skip all directories when tidy-checking This fixes a regression from rust-lang#108772 which basically made it that tidy style checks only `README.md` and `COMPILER_TESTS.md`.
@bors r- rollup=iffy
https://github.com/rust-lang/rust/actions/runs/4497868288/jobs/7913878216#step:26:1777 |
285fec8
to
1b1410d
Compare
📌 Commit 1b1410df127034f0c754350f54189d5c3d4db858 has been approved by It is now in the queue for this repository. |
⌛ Testing commit 1b1410df127034f0c754350f54189d5c3d4db858 with merge 0fa3f2220f21ffb8dce4e24ebc8895fc8ccf8997... |
💔 Test failed - checks-actions |
⌛ Testing commit b7a0b06f6bc849011753ab7b2919d013240c9157 with merge 597f4b0cf55e5c04a0c62358142748d45f79d97f... |
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
b7a0b06
to
904dd2c
Compare
@bors retry |
@bors r- r+ retry means something different :( not sure why it didn't print the commit it was going to retry |
☀️ Test successful - checks-actions |
yay!!! thank you @WaffleLapkin for sticking with this ❤️ i know it was frustrating |
Finished benchmarking commit (5bf139e): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. |
…jyn514 Change tidy error message for TODOs Blocked on rust-lang#109440 (first few commits are from where) IMO "deprecated" doesn't really explain anything, I've tried to highlight the actual reason we error on TODOs. The message is not at all perfect, maybe someone has ideas how to phrase it better?
This fixes a regression from #108772 which basically made it that tidy style checks only
README.md
andCOMPILER_TESTS.md
.