Skip to content

Conversation

@mfisher87
Copy link
Collaborator

My PR #309 passed pre-commit checks, but failed when GitHub Actions ran black --check. Running black at pre-commit time is a bit less frictiony :)

I considered using Ruff for formatting, but Ruff and Black have, I believe, diverged slightly. I think switching CI + pre-commit to both use Ruff for formatting would be better done in a separate PR.

rev: "v4.0.0-alpha.8" # Use the sha / tag you want to point at
hooks:
- id: prettier
types_or: [css, javascript, yaml]
Copy link
Collaborator Author

@mfisher87 mfisher87 Aug 27, 2025

Choose a reason for hiding this comment

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

Happy to remove or move this to a separate PR, I was trying to avoid chained PRs.

Copy link
Member

@martinRenou martinRenou left a comment

Choose a reason for hiding this comment

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

Thanks!

@martinRenou martinRenou merged commit 4b751cf into jupyterlite:main Sep 5, 2025
5 checks passed
@mfisher87 mfisher87 deleted the black-pre-commit branch September 5, 2025 15:34
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