mypy
mypy copied to clipboard
When black fails in CI, tell how to fix it
If Black fails in CI, it would be nice to show prominently the exact command needed to fix the issue (possibly just black .). I guess isort could be similar. This could help new contributors who haven't used Black before.
If we adopted pre-commit.ci (#13281), then black and isort would be auto-applied to PRs that violate the coding style, so contributors wouldn't need to manually fix their PRs.
It would be very helpful!
Closing since #13281 is merged