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

Only block commits if black fails for certain paths #14531

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

AlanCoding
Copy link
Member

SUMMARY

Connect #13241

This solution isn't "perfect". It doesn't reuse the ignore list in pyproject.toml, but this would be very hard to make work with the overall structure we have. I don't want to let the best be the enemy of the good, and this seems pretty good to me. This doesn't change how the checks work, and I don't foresee any problems with it.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API

@john-westcott-iv
Copy link
Member

Do you want to change the pre-commit hook as well?

@AlanCoding
Copy link
Member Author

Do you want to change the pre-commit hook as well?

What does this mean?

@john-westcott-iv
Copy link
Member

What does this mean?

It means I was in a meeting when I reviewed this and totally spaced, thinking that you were modifying a check in the GH actions. But clearly, you are already modifying the pre-commit hook, lol. My bad 🤦‍♀️

@AlanCoding AlanCoding merged commit 9745058 into ansible:devel Oct 10, 2023
20 checks passed
djyasin pushed a commit to djyasin/awx that referenced this pull request Sep 16, 2024
djyasin pushed a commit to djyasin/awx that referenced this pull request Nov 11, 2024
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.

2 participants