-
Notifications
You must be signed in to change notification settings - Fork 236
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
chore: Clean up pre-commit warnings and delays #491
Conversation
Added excalidraw to codespell ignore Remove terraform validate from pre-commit, developers should run this themselves.
- id: terraform_validate | ||
exclude: docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bryantbiggs Is this step used in any of the pre-commit GitHub workflows? What is your recommendation here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if your CI is already running a terraform plan
on each pattern, then this could be considered redundant
I also don't see pre-commit as a CI check which is why I guess a lot of these white space/noise changes are occurring on subsequent PRs
@@ -1,5 +1,5 @@ | |||
[codespell] | |||
skip = .git,*.pdf,*.svg,go.sum,package-lock.json,*.css,.codespellrc,*.sql,website/package-lock.json | |||
skip = .git,*.pdf,*.svg,go.sum,package-lock.json,*.css,.codespellrc,*.sql,website/package-lock.json,*.excalidraw |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
This reverts commit 65d1709.
What does this PR do?
Added excalidraw to codespell ignore
Remove terraform validate from pre-commit, developers should run this themselves.
Motivation
Terraform validate in the precommit takes absolutely forever on the root of the project. Everyone is skipping it or aborting it. So let's remove it.
Finally, excalidraw always comes up in spelling check output. Let's add that to ignore.
More
website/docs
orwebsite/blog
section for this featurepre-commit run -a
with this PR. Link for installing pre-commit locallyFor Moderators
Additional Notes