Skip to content

Commit c3b90a9

Browse files
committed
Update shas on documentation
1 parent fa74559 commit c3b90a9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

index.mako

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
<p>For example:</p>
115115
<pre>
116116
- repo: git://github.com/pre-commit/pre-commit-hooks
117-
sha: 5541a6a046b7a0feab73a21612ab5d94a6d3f6f0
117+
sha: v0.4.2
118118
hooks:
119119
- id: trailing-whitespace
120120
</pre>
@@ -234,7 +234,7 @@
234234
<code>pre-commit autoupdate</code> to synchronize changes.
235235
<pre>
236236
- repo: /home/asottile/workspace/pre-commit-hooks
237-
sha: 9ce45609a92f648c87b42207410386fd69a5d1e5
237+
sha: v0.4.2
238238
hooks:
239239
- id: trailing-whitespace
240240
</pre>
@@ -269,7 +269,7 @@
269269
<p>Sometimes hooks require arguments to run correctly. You can pass static arguments by specifying the <code>args</code> property in your <code>.pre-commit-config.yaml</code> as follows:</p>
270270
<pre>
271271
- repo: git://github.com/pre-commit/pre-commit-hooks
272-
sha: 5541a6a046b7a0feab73a21612ab5d94a6d3f6f0
272+
sha: v0.4.2
273273
hooks:
274274
- id: flake8
275275
args: [--max-line-length=131]
@@ -282,7 +282,7 @@
282282
<p>For example, assuming your <code>.pre-commit-config.yaml</code> was like below</p>
283283
<pre>
284284
- repo: git://github.com/path/to/your/hook/repo
285-
sha: 5541a6a046b7a0feab73a21612ab5d94a6d3f6f0
285+
sha: badf00ddeadbeef
286286
hooks:
287287
- id: my-hook-script-id
288288
args: [--myarg1=1, --myarg1=2]
@@ -300,7 +300,7 @@ path/to/script-or-system-call --myarg1=1 --myarg1=2 dir/file1 dir/file2 file3
300300
<p>Sometimes you only want to run the hooks on a specific version of the language. For each language, they default to using the system installed language (So for example if I&rsquo;m running <code>python2.6</code> and a hook specifies <code>python</code>, pre-commit will run the hook using <code>python2.6</code>). Sometimes you don&rsquo;t want the default system installed version so you can override this on a per-hook basis by setting the <code>language_version</code>.</p>
301301
<pre>
302302
- repo: git://github.com/pre-commit/mirrors-scss-lint
303-
sha: d7266131da322d6d76a18d6a3659f21025d9ea11
303+
sha: v0.43.2
304304
hooks:
305305
- id: scss-lint
306306
language_version: 1.9.3-p484

0 commit comments

Comments
 (0)