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

[CI] Enable TABS formatter/linter #6160

Merged
merged 2 commits into from
Jan 10, 2025
Merged

[CI] Enable TABS formatter/linter #6160

merged 2 commits into from
Jan 10, 2025

Conversation

clee2000
Copy link
Contributor

@clee2000 clee2000 commented Jan 10, 2025

Copy over grep_linter from https://togithub.com/pytorch/pytorch/pull/144589.

Enable TABS linter in CI

Add paths to ignore list that don't currently work

Run formatter on clickhouse_queries folder

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 10, 2025
Copy link

vercel bot commented Jan 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
torchci ✅ Ready (Inspect) Visit Preview Jan 10, 2025 10:49pm

Copy link
Contributor

@huydhn huydhn left a comment

Choose a reason for hiding this comment

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

LGTM!

@huydhn
Copy link
Contributor

huydhn commented Jan 10, 2025

Seeing your changes here and pytorch/pytorch#144589, I remember that there is https://github.com/justinchuby/lintrunner-adapters which suppose to include all PT lint adapters there, so that we can just pip install to get the adapter, i.e. https://github.com/pytorch/executorch/blob/main/requirements-lintrunner.txt#L3. I think we might want to do the same for test-infra eventually. That repo looks a bit outdated though

@clee2000 clee2000 merged commit 46cd41c into main Jan 10, 2025
8 checks passed
@clee2000 clee2000 deleted the csl/lint_tabs branch January 10, 2025 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants