Skip to content

Commit 9abeed4

Browse files
committed
Document 'always_run' setting for hooks
1 parent b9d64ad commit 9abeed4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

index.mako

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@
105105
<td><code>additional_dependencies</code></td>
106106
<td>(optional) A list of dependencies that will be installed in the environment where this hook gets run. One useful application is to install plugins for hooks such as eslint. New in 0.6.6.</td>
107107
</tr>
108+
<tr>
109+
<td><code>always_run</code></td>
110+
<td>(optional) Default <code>false</code>. If <code>true</code> this hook will run even if there are no matching files. New in 0.7.2.</td>
111+
</tr>
108112
</tbody>
109113
</table>
110114
<p>For example:</p>
@@ -171,6 +175,10 @@
171175
<td><code>language</code></td>
172176
<td>The language of the hook - tells pre-commit how to install the hook.</td>
173177
</tr>
178+
<tr>
179+
<td><code>always_run</code></td>
180+
<td>(optional) Default <code>false</code>. If <code>true</code> this hook will run even if there are no matching files. New in 0.7.2.</td>
181+
</tr>
174182
<tr>
175183
<td><code>description</code></td>
176184
<td>(optional) The description of the hook.</td>

0 commit comments

Comments
 (0)