Skip to content

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

Merged
ericl merged 1 commit into
ray-project:masterfrom
ericl:revert-format
Oct 5, 2021
Merged

ericl merged 1 commit into
ray-project:masterfrom
ericl:revert-format

Conversation

@ericl

@ericl ericl commented Oct 5, 2021

Copy link
Copy Markdown
Contributor

…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

mwtian commented Oct 5, 2021

Copy link
Copy Markdown
Member

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

@ericl

ericl commented Oct 5, 2021

Copy link
Copy Markdown
Contributor Author

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