Use ruff format to replace black by kiendang · Pull Request #1473 · graphql-python/graphene-django
Navigation Menu
{{ message }}
graphql-python / graphene-django Public
- Notifications You must be signed in to change notification settings
- Fork 766
Merged
Conversation
Copy link
Contributor
kiendang
commented
Oct 25, 2023
kiendang
commented
Ruff formatter (a black-compatible code formatter built into ruff) is out of beta today https://astral.sh/blog/the-ruff-formatter.
Replace the black pre-commit hook with ruff-format hook for faster formatting.
kiendang added 3 commits
October 25, 2023 09:51
kiendang
requested review from
firaskafri and
sjdemartini
sjdemartini approved these changes Oct 25, 2023
Copy link
Collaborator
sjdemartini
left a comment
sjdemartini
left a comment
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet! ruff ftw! Thank you!
firaskafri approved these changes Oct 25, 2023
firaskafri
merged commit
36cf100
into
main
firaskafri
deleted the
ruff-format
branch
superlevure pushed a commit to loft-orbital/graphene-django that referenced this pull request
Dec 6, 2023* Use ruff format to replace black * Adjust ruff config to be compatible with ruff-format https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules * Format * Replace black with ruff format in Makefile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment