Closed rotu closed 4 years ago
Previously, not passing a hook name would result in trying to execute a hook named None:
None
githooks run No hooks called None found. Add a [tool.githooks] section to your pyproject.toml with the desired hook
Now, this fails earlier with a more intuitive message:
githooks run Usage: githooks run [OPTIONS] [ARGS]... Try 'githooks run --help' for help. Error: Missing option '--name'. Choose from: applypatch-msg, pre-applypatch, post-applypatch, ...
Nice! Thanks for your contribution
You're very welcome! Thanks for making this very useful project!
Previously, not passing a hook name would result in trying to execute a hook named
None
:Now, this fails earlier with a more intuitive message: