pre-commit: fail now if black/isort fail
Using only the --diff option, they will exit always with rc=0, so pre-commit things they passed.
Signed-off-by: David Caro dcaro@wikimedia.org
How to register an account on GitLab. To prevent spam, new accounts are locked until approved by an admin or the approver bot. You can also file an unlock request to expedite access.
Support: mw:GitLab, how to host a project on GitLab, #wikimedia-gitlab on libera.chat, #GitLab on Phabricator.
Using only the --diff option, they will exit always with rc=0, so pre-commit things they passed.
Signed-off-by: David Caro dcaro@wikimedia.org