Skip to content

ci(pre-commit): Enable pre-commit CI and renovate#130

Merged
alexeagle merged 3 commits intobazel-contrib:mainfrom
hofbi:pre-commit-ci
Dec 17, 2024
Merged

ci(pre-commit): Enable pre-commit CI and renovate#130
alexeagle merged 3 commits intobazel-contrib:mainfrom
hofbi:pre-commit-ci

Conversation

@hofbi
Copy link
Copy Markdown
Contributor

@hofbi hofbi commented Dec 8, 2024

Since the rules already prvide a pre-commit config, we should also make sure the checks pass CI and hooks stay up to date.

@fmeum
Copy link
Copy Markdown
Member

fmeum commented Dec 9, 2024

@alexeagle

Copy link
Copy Markdown
Contributor

@alexeagle alexeagle left a comment

Choose a reason for hiding this comment

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

I think it looks good, but let's land your bazel-lib usage of it and get a few days usage to verify it behaves how rules authors will want, before we update the template.

@hofbi
Copy link
Copy Markdown
Contributor Author

hofbi commented Dec 9, 2024

I think it looks good, but let's land your bazel-lib usage of it and get a few days usage to verify it behaves how rules authors will want, before we update the template.

Sounds good. I pushed another commit fixing all pre-commit issues so that we can merge in a few days.

@hofbi
Copy link
Copy Markdown
Contributor Author

hofbi commented Dec 17, 2024

@alexeagle Having this merged in https://github.com/bazel-contrib/bazel-lib for a week seems to work. Should we add this to the template as well?

@alexeagle
Copy link
Copy Markdown
Contributor

Yes, SGTM thanks for following up.

@alexeagle alexeagle merged commit ec5d715 into bazel-contrib:main Dec 17, 2024
@hofbi hofbi deleted the pre-commit-ci branch January 8, 2025 14:09
alexeagle pushed a commit to aspect-build/rules_py that referenced this pull request Jan 23, 2025
Follow up of #474 running buildifier on all files. A follow up PR will
fix the remaining `buildifier-lint` warnings and add pre-commit to CI
similar to bazel-contrib/rules-template#130.

Co-authored-by: Alex Eagle <[email protected]>
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.

3 participants