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

Use Prettier pre-commit mirror #1896

Merged
merged 1 commit into from Jan 1, 2021
Merged

Use Prettier pre-commit mirror #1896

merged 1 commit into from Jan 1, 2021

Conversation

TBBle
Copy link
Contributor

@TBBle TBBle commented Jan 1, 2021

This fixes Prettier install failures similar to those seen in prettier/prettier#9459, and is the solution recommended there.

This fixes Prettier install failures similar to those seen in
prettier/prettier#9459, and is the solution
recommended there.

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
@cooperlees
Copy link
Collaborator

cooperlees commented Jan 1, 2021

Thanks for this. Let's see how happy CI is.

Just want to say, pre-commit sure does flip flops a lot from recommending use of it's mirrors vs. tools official repos. Very confusing.

@TBBle
Copy link
Contributor Author

TBBle commented Jan 1, 2021

This is actually batching up two moves. Prettier had already moved their pre-commit support to https://github.com/prettier/pre-commit, and then this split-out was (I assume) handed over to the pre-commit team to maintain.

@TBBle
Copy link
Contributor Author

TBBle commented Jan 1, 2021

CI seems happy. Looking at the logs, I guess it's been reusing the existing Prettier environment (since it only installed the changed Prettier, not the other environments), so this breakage might have been around silently for a little while.

Copy link
Collaborator

@cooperlees cooperlees left a comment

Choose a reason for hiding this comment

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

Makes sense. Thanks!

@cooperlees cooperlees merged commit f07832e into psf:master Jan 1, 2021
@TBBle TBBle deleted the update-prettier-precommit-source branch January 2, 2021 03:48
noxan pushed a commit to noxan/black that referenced this pull request Jun 6, 2021
This fixes Prettier install failures similar to those seen in
prettier/prettier#9459, and is the solution
recommended there.

Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
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.

None yet

2 participants