Skip to content
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

[Hotfix] Revert "[Lint] run clang-tidy in scripts/format.h, update clang-t… #19119

Merged
merged 1 commit into from
Oct 5, 2021

Conversation

ericl
Copy link
Contributor

@ericl ericl commented Oct 5, 2021

…idy rules (#19055)"

This reverts commit 5d9e3a0.

Why are these changes needed?

After this PR, running scripts/format.sh is very slow. I think this is breaking the incremental format logic which only lints changed files.

@ericl ericl changed the title Revert "[Lint] run clang-tidy in scripts/format.h, update clang-t… [Hotfix] Revert "[Lint] run clang-tidy in scripts/format.h, update clang-t… Oct 5, 2021
@mwtian
Copy link
Member

mwtian commented Oct 5, 2021

Which step is taking a long time, is it clang-tidy or clang-format?

@ericl
Copy link
Contributor Author

ericl commented Oct 5, 2021

As I understand it, it's slow because the PR broke the base-diffing algorithm. Looking at the original PR, I don't think we should have made such a huge change to such a delicate (and not well tested) script.

@ericl ericl merged commit f8a91c7 into ray-project:master Oct 5, 2021
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.

4 participants