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

fix(pre-commit): update URL and versions in the pre-commit configuration #1865

Merged
merged 1 commit into from
Dec 27, 2022

Conversation

jdholtz
Copy link
Contributor

@jdholtz jdholtz commented Dec 27, 2022

There was a dead link in the pre-commit-golang URL, which caused pre-commit install to fail. Also, Woile/commitizen redirects to commitizen-tools/commitizen, so change that URL as well. Last, update all the versions using pre-commit autoupdate. All hooks still pass.

This will make it easier for new contributors to use the pre-commit hooks when contributing.

Last, I noticed that the news_test.go unit test doesn't work in some timezones (e.g. it works in Europe/Paris but not in America/Denver). This causes the pre-commit hook to fail. Wanted to mention this in case other contributors from different timezones run into this issue (or this is an actual issue within the news code).

There was a dead link in the pre-commit-golang URL. Also, Woile/commitizen redirects to commitizen-tools/commitizen, so change that URL as well. Last, update all the versions using pre-commit autoupdate.

This will make it easier for new contributers to use the pre-commit
hooks when contributing.
@jdholtz jdholtz requested a review from Jguer as a code owner December 27, 2022 03:57
@Jguer
Copy link
Owner

Jguer commented Dec 27, 2022

I see, weird that it's working in the CI, I'll investigate

@Jguer Jguer enabled auto-merge (squash) December 27, 2022 18:54
@Jguer Jguer merged commit d3fbfa2 into Jguer:next Dec 27, 2022
@jdholtz jdholtz deleted the fix-pre-commit branch December 27, 2022 19:05
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