Closed nebbles closed 4 years ago
Perhaps pre-commit run --all-files
could be run before the commit starts if .pre-commit-config.yaml
is detected to ensure that the checks pass before writing commit message? Is there any configuration that would differ between this command and what git commit would have run?
Perhaps worth adding a shortcut command to check files?
Even when pre-commit hooks reject the commit, a success message is shown to the user