Skip to content

Use pre-commit.ci to run pre-commit tests - #62

Merged
consideRatio merged 2 commits into
jupyterhub:mainfrom
consideRatio:pr/pre-commit-switchup
Aug 29, 2021
Merged

Use pre-commit.ci to run pre-commit tests#62
consideRatio merged 2 commits into
jupyterhub:mainfrom
consideRatio:pr/pre-commit-switchup

Conversation

@consideRatio

@consideRatio consideRatio commented Aug 28, 2021

Copy link
Copy Markdown
Member

We've started using pre-commit.ci to run pre-commit tests in jupyterhub/jupyterhub and jupyterhub/zero-to-jupyterhub-k8s - it has been great! Doing so helps us get automatic updates of things in .pre-commit-config.yaml, automatic patches to PRs applied, and the actual execution of pre-commit tests.

I was motivated for this transition initially by not having to split up the test.yaml workflow in two files in order to not trigger all tests no matter if it was only a docs change, but as pre-commit should also trigger on docs change - there was a need to extract pre-commit from the test.yaml workflow file.

@jgwerner jgwerner left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@jgwerner jgwerner mentioned this pull request Aug 29, 2021
@consideRatio
consideRatio force-pushed the pr/pre-commit-switchup branch from cadd4e3 to fcb4996 Compare August 29, 2021 15:46
@consideRatio
consideRatio merged commit b0549fe into jupyterhub:main Aug 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants