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've been using black in GAMA now since a few weeks. The experience has been good so far. I also took the time to set up a pre-commit hook. Before doing any commit (locally), it will run black, mypy and flake8. The pre-commit has a few benefits:
You don't have to call black manually, so it can't be forgotten.
You won't have check-ins with flake8 and mypy errors, which means also no commits that are just "Fix Flake8/mypy". Keeps a cleaner commit history and puts less strain on CI servers.
If we add configuration files for each of those packages, alongside the pre-commit configuration, everyone runs the same version of the packages with the same configurations. There will be no need for manual setup beyond pre-commit install.
Thoughts?
It shouldn't take a long time to set up, and I'm willing to do that. But I won't have time for it until sometime in May.
https://pypi.org/project/black/
The text was updated successfully, but these errors were encountered: