Skip to content

'--' Now Optional In Hook Args : v0.8.0

Compare
Choose a tag to compare
@TekWizely TekWizely released this 22 Sep 20:25
· 17 commits to master since this release
c2648ea

Release v0.8.0

A trailing '--' is now (mostly) optional when passing options into hooks.

if your options contain a reference to an existing file, then you will need to use a trailing '--' argument to separate the hook options from the modified-file list that Pre-Commit passes into the hook.

Note: For repo-based hooks, '--' is not needed.