You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just migrated from black, and I'm using the same way as before -- pre-commit. It's a great solution to run multiple tools in one process, and it provides a ready-to-use plugin for GitHub Actions.
To enable it, you have to create a config file .pre-commit-config.yaml in your repo root; the simplest with just blue looks like that:
repos:
- repo: https://github.com/grantjenks/bluerev: v0.9.1hooks:
- id: blue
My .github/workflows/pre-commit.yaml looks like this. pre-commit/[email protected] does the magic here:
No description provided.
The text was updated successfully, but these errors were encountered: