You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.mako
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -105,6 +105,10 @@
105
105
<td><code>additional_dependencies</code></td>
106
106
<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>
107
107
</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>
108
112
</tbody>
109
113
</table>
110
114
<p>For example:</p>
@@ -171,6 +175,10 @@
171
175
<td><code>language</code></td>
172
176
<td>The language of the hook - tells pre-commit how to install the hook.</td>
173
177
</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>
0 commit comments