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

Move check_inits.py into Pants #19919

Merged
merged 5 commits into from
Sep 22, 2023
Merged

Move check_inits.py into Pants #19919

merged 5 commits into from
Sep 22, 2023

Conversation

thejcannon
Copy link
Member

This change moves the pre-commit-hook (which ummm is that run in CI?!?!?!) into an experimental_test_shell_command.

@thejcannon thejcannon added the category:internal CI, fixes for not-yet-released features, etc. label Sep 22, 2023
)

# NB: This should be in `lint` when we implement `lint` in https://github.com/pantsbuild/pants/issues/17729
experimental_test_shell_command(
Copy link
Contributor

Choose a reason for hiding this comment

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

I know nothing about this. How do you invoke it?

Copy link
Member Author

Choose a reason for hiding this comment

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

It gets executed as part of the test goal! 🎉

@thejcannon
Copy link
Member Author

@huonw also likely something to toss into semgrep 😉

@thejcannon thejcannon enabled auto-merge (squash) September 22, 2023 23:22
@thejcannon thejcannon merged commit 2b91b8a into main Sep 22, 2023
24 checks passed
@thejcannon thejcannon deleted the jcannon/pantsify-check-inits branch September 22, 2023 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants