Skip to content

Commit 9a85970

Browse files
Deployed to github pages
1 parent bc5e74c commit 9a85970

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

index.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,10 @@ <h2 id="pre-commit-configyaml---top-level"> .pre-commit-config.yaml - top lev
244244
<h2 id="pre-commit-configyaml---repos"> .pre-commit-config.yaml - repos <small><a href="#pre-commit-configyaml---repos" class="text-decoration-none"></a></small></h2> <p>The repository mapping tells pre-commit where to get the code for the hook
245245
from.</p>
246246
<table class="table table-bordered"><tbody><tr><td><p><a id="repos-repo" href="#repos-repo"><code>repo</code></a></p>
247-
</td><td><p>the repository url to <code>git clone</code> from</p>
247+
</td><td><p>the repository url to <code>git clone</code> from
248+
or one of the special sentinel values:
249+
<a href="#repository-local-hooks"><code>local</code></a>,
250+
<a href="#meta-hooks"><code>meta</code></a>.</p>
248251
</td></tr><tr><td><p><a id="repos-rev" href="#repos-rev"><code>rev</code></a></p>
249252
</td><td><p>the revision or tag to clone at.</p>
250253
</td></tr><tr><td><p><a id="repos-hooks" href="#repos-hooks"><code>hooks</code></a></p>
@@ -1078,7 +1081,7 @@ <h2 id="repository-local-hooks"> Repository local hooks <small><a href="#repo
10781081
<p>You can configure repository-local hooks by specifying the <a href="#repos-repo"><code>repo</code></a> as the
10791082
sentinel <code>local</code>.</p>
10801083
<p>local hooks can use any language which supports <a href="#config-additional_dependencies"><code>additional_dependencies</code></a>
1081-
or <code>docker_image</code> / <code>fail</code> / <code>pygrep</code> / <code>script</code> / <code>system</code>.
1084+
or <a href="#docker_image"><code>docker_image</code></a> / <a href="#fail"><code>fail</code></a> / <a href="#pygrep"><code>pygrep</code></a> / <a href="#script"><code>script</code></a> / <a href="#system"><code>system</code></a>.
10821085
This enables you to install things which previously would require a trivial
10831086
mirror repository.</p>
10841087
<p>A <code>local</code> hook must define <a href="#hooks-id"><code>id</code></a>, <a href="#hooks-name"><code>name</code></a>, <a href="#hooks-language"><code>language</code></a>,

0 commit comments

Comments
 (0)