3 ms·
> Is the point to fail the build if the code wasn't pre-formatted with i.e. Black? It's this one > Or is the point to autoformat This one is done with pre-co
by bckr 5y ago
> Is the point to fail the build if the code wasn't pre-formatted with i.e. Black?
It's this one
> Or is the point to autoformat
This one is done with pre-commit (which should probably be named pre-push?) hooks
> and autocommit the formatted code?
I don't think this one is done, and I think it's undesirable
- mkesper 5y agoPre-commit hooks really happen when you type 'git commit'. If you have failing checks in them, your commit will be aborted.