Skip to content

Commit fc6c349

Browse files
yarikopticisomorphic-git-bot
authored andcommitted
fix: Add codespell: workflow, config and fix typos it finds (#1843)
* Add github action to codespell main on push and PRs * Add rudimentary codespell config * Ignore some common short words * [DATALAD RUNCMD] Do interactive fixing of some ambigous typos * Manually committing selected fixed by codespell to those files in the tests * Skip __tests__ * [DATALAD RUNCMD] run codespell throughout fixing typo automagically * docs: add @yarikoptic as a contributor
1 parent e83150e commit fc6c349

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+124
-123
lines changed

blog/2018/04/02/contributing-workflow.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,15 +270,15 @@
270270
Branch issue-107 <span class="hljs-built_in">set</span> up to track remote branch issue-107 from origin.
271271
</code></pre>
272272
<p>(If the linter had found any style problems, it would have fixed them using prettier.
273-
I have not automated ammending the commit though, so I would have to fix the commit with
273+
I have not automated amending the commit though, so I would have to fix the commit with
274274
<code>git add -u &amp;&amp; git commit --amend --no-edit</code> and try pushing again.)</p>
275275
<p>Since it succeeded, it will show up on the <a href="https://github.com/isomorphic-git/isomorphic-git">Github page</a>
276276
near the top, under &quot;Your recently pushed branches:&quot;. I go there and click the &quot;Compare &amp; pull request&quot; button.</p>
277277
<p>By default, Github uses the commit message as the PR title, which is usually fine.
278278
However, now I will tack on &quot;(fixes #107)&quot; to the end of the title just so Github automatically creates a hyperlink between
279279
the issue and the PR.</p>
280280
<p>... I lied. Github is not smart enough to use the PR title. :eyeroll:
281-
I edit the PR description to be &quot;fixes #107&quot; and <em>then</em> Github adds the &quot;wmhilton referened this issue a minute ago&quot; link to the PR to the issue.</p>
281+
I edit the PR description to be &quot;fixes #107&quot; and <em>then</em> Github adds the &quot;wmhilton referenced this issue a minute ago&quot; link to the PR to the issue.</p>
282282
<p>Now we wait for the Continuous Integration (CI) system to do its thing.
283283
I didn't actually check if it would work in the browser -
284284
which we could have done by running <code>npm run test</code> (which will run Jasmine and Karma) instead of just <code>jest</code> -

blog/2018/04/02/contributing-workflow/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,15 +270,15 @@
270270
Branch issue-107 <span class="hljs-built_in">set</span> up to track remote branch issue-107 from origin.
271271
</code></pre>
272272
<p>(If the linter had found any style problems, it would have fixed them using prettier.
273-
I have not automated ammending the commit though, so I would have to fix the commit with
273+
I have not automated amending the commit though, so I would have to fix the commit with
274274
<code>git add -u &amp;&amp; git commit --amend --no-edit</code> and try pushing again.)</p>
275275
<p>Since it succeeded, it will show up on the <a href="https://github.com/isomorphic-git/isomorphic-git">Github page</a>
276276
near the top, under &quot;Your recently pushed branches:&quot;. I go there and click the &quot;Compare &amp; pull request&quot; button.</p>
277277
<p>By default, Github uses the commit message as the PR title, which is usually fine.
278278
However, now I will tack on &quot;(fixes #107)&quot; to the end of the title just so Github automatically creates a hyperlink between
279279
the issue and the PR.</p>
280280
<p>... I lied. Github is not smart enough to use the PR title. :eyeroll:
281-
I edit the PR description to be &quot;fixes #107&quot; and <em>then</em> Github adds the &quot;wmhilton referened this issue a minute ago&quot; link to the PR to the issue.</p>
281+
I edit the PR description to be &quot;fixes #107&quot; and <em>then</em> Github adds the &quot;wmhilton referenced this issue a minute ago&quot; link to the PR to the issue.</p>
282282
<p>Now we wait for the Continuous Integration (CI) system to do its thing.
283283
I didn't actually check if it would work in the browser -
284284
which we could have done by running <code>npm run test</code> (which will run Jasmine and Karma) instead of just <code>jest</code> -

blog/2020/02/25/version-1-0-0.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ <h2><a class="anchor" aria-hidden="true" id="better-ide-integration"></a><a href
8282
<p>And here's what it looks like in version 1.0:</p>
8383
<p><img src="/blog/assets/2020-02-25/tooltip-after.png" alt="v1.x.x tooltip"></p>
8484
<p>The functions themselves have been tweaked so that the <a href="https://github.com/isomorphic-git/isomorphic-git/blob/master/src/typedefs.js">core object interfaces</a> (<code>CommitObject</code>, <code>TreeEntry</code>, <code>TagObject</code>, etc) are reused wherever possible,
85-
so that all the functions feel consistant and there are no surprises.
85+
so that all the functions feel consistent and there are no surprises.
8686
The result is a cleaner API where the documentation comes to you, right where you are.</p>
8787
<h2><a class="anchor" aria-hidden="true" id="better-typescript-integration"></a><a href="#better-typescript-integration" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Better TypeScript Integration</h2>
8888
<p>The return types gel with TS better now. For example, <code>readObject</code> returns a &quot;discriminated union&quot; type, so you can take advantage of powerful type inference, like this:</p>
@@ -184,7 +184,7 @@ <h3><a class="anchor" aria-hidden="true" id="some-function-parameters-have-been-
184184
<li>The <code>autoTranslateSSH</code> feature was removed, since it is trivial to implement your own version using just the <code>UnknownTransportError.data.suggestion</code></li>
185185
<li>The <code>writeObject</code> function when used to write a tree now expects a plain array rather than an object with a property called <code>entries</code> which is the array. (This is so that argument to <code>writeObject</code> has the same shape as the arguments to <code>writeBlob</code>/<code>writeCommit</code>/<code>writeTag</code>/<code>writeTree</code>.)</li>
186186
<li>The <code>noOverwrite</code> parameter was removed from <code>init</code> and is the new behavior.</li>
187-
<li>The <code>author.date</code>, <code>committer.date</code>, <code>tagger.date</code> parameters were removed in favor of <code>author.timestamp</code>, <code>comitter.timestamp</code>, <code>tagger.timestamp</code> in order to be clear about what is actually written and share the same shape as the return types in <code>readCommit</code>, <code>log</code>, and <code>readTag</code>.</li>
187+
<li>The <code>author.date</code>, <code>committer.date</code>, <code>tagger.date</code> parameters were removed in favor of <code>author.timestamp</code>, <code>committer.timestamp</code>, <code>tagger.timestamp</code> in order to be clear about what is actually written and share the same shape as the return types in <code>readCommit</code>, <code>log</code>, and <code>readTag</code>.</li>
188188
</ul>
189189
<h3><a class="anchor" aria-hidden="true" id="the-return-types-of-some-functions-have-changed"></a><a href="#the-return-types-of-some-functions-have-changed" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>The return types of some functions have changed:</h3>
190190
<ul>

blog/2020/02/25/version-1-0-0/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ <h2><a class="anchor" aria-hidden="true" id="better-ide-integration"></a><a href
8282
<p>And here's what it looks like in version 1.0:</p>
8383
<p><img src="/blog/assets/2020-02-25/tooltip-after.png" alt="v1.x.x tooltip"></p>
8484
<p>The functions themselves have been tweaked so that the <a href="https://github.com/isomorphic-git/isomorphic-git/blob/master/src/typedefs.js">core object interfaces</a> (<code>CommitObject</code>, <code>TreeEntry</code>, <code>TagObject</code>, etc) are reused wherever possible,
85-
so that all the functions feel consistant and there are no surprises.
85+
so that all the functions feel consistent and there are no surprises.
8686
The result is a cleaner API where the documentation comes to you, right where you are.</p>
8787
<h2><a class="anchor" aria-hidden="true" id="better-typescript-integration"></a><a href="#better-typescript-integration" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Better TypeScript Integration</h2>
8888
<p>The return types gel with TS better now. For example, <code>readObject</code> returns a &quot;discriminated union&quot; type, so you can take advantage of powerful type inference, like this:</p>
@@ -184,7 +184,7 @@ <h3><a class="anchor" aria-hidden="true" id="some-function-parameters-have-been-
184184
<li>The <code>autoTranslateSSH</code> feature was removed, since it is trivial to implement your own version using just the <code>UnknownTransportError.data.suggestion</code></li>
185185
<li>The <code>writeObject</code> function when used to write a tree now expects a plain array rather than an object with a property called <code>entries</code> which is the array. (This is so that argument to <code>writeObject</code> has the same shape as the arguments to <code>writeBlob</code>/<code>writeCommit</code>/<code>writeTag</code>/<code>writeTree</code>.)</li>
186186
<li>The <code>noOverwrite</code> parameter was removed from <code>init</code> and is the new behavior.</li>
187-
<li>The <code>author.date</code>, <code>committer.date</code>, <code>tagger.date</code> parameters were removed in favor of <code>author.timestamp</code>, <code>comitter.timestamp</code>, <code>tagger.timestamp</code> in order to be clear about what is actually written and share the same shape as the return types in <code>readCommit</code>, <code>log</code>, and <code>readTag</code>.</li>
187+
<li>The <code>author.date</code>, <code>committer.date</code>, <code>tagger.date</code> parameters were removed in favor of <code>author.timestamp</code>, <code>committer.timestamp</code>, <code>tagger.timestamp</code> in order to be clear about what is actually written and share the same shape as the return types in <code>readCommit</code>, <code>log</code>, and <code>readTag</code>.</li>
188188
</ul>
189189
<h3><a class="anchor" aria-hidden="true" id="the-return-types-of-some-functions-have-changed"></a><a href="#the-return-types-of-some-functions-have-changed" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>The return types of some functions have changed:</h3>
190190
<ul>

blog/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ <h2><a class="anchor" aria-hidden="true" id="better-ide-integration"></a><a href
8282
<p>And here's what it looks like in version 1.0:</p>
8383
<p><img src="/blog/assets/2020-02-25/tooltip-after.png" alt="v1.x.x tooltip"></p>
8484
<p>The functions themselves have been tweaked so that the <a href="https://github.com/isomorphic-git/isomorphic-git/blob/master/src/typedefs.js">core object interfaces</a> (<code>CommitObject</code>, <code>TreeEntry</code>, <code>TagObject</code>, etc) are reused wherever possible,
85-
so that all the functions feel consistant and there are no surprises.
85+
so that all the functions feel consistent and there are no surprises.
8686
The result is a cleaner API where the documentation comes to you, right where you are.</p>
8787
<h2><a class="anchor" aria-hidden="true" id="better-typescript-integration"></a><a href="#better-typescript-integration" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Better TypeScript Integration</h2>
8888
<p>The return types gel with TS better now. For example, <code>readObject</code> returns a &quot;discriminated union&quot; type, so you can take advantage of powerful type inference, like this:</p>
@@ -184,7 +184,7 @@ <h3><a class="anchor" aria-hidden="true" id="some-function-parameters-have-been-
184184
<li>The <code>autoTranslateSSH</code> feature was removed, since it is trivial to implement your own version using just the <code>UnknownTransportError.data.suggestion</code></li>
185185
<li>The <code>writeObject</code> function when used to write a tree now expects a plain array rather than an object with a property called <code>entries</code> which is the array. (This is so that argument to <code>writeObject</code> has the same shape as the arguments to <code>writeBlob</code>/<code>writeCommit</code>/<code>writeTag</code>/<code>writeTree</code>.)</li>
186186
<li>The <code>noOverwrite</code> parameter was removed from <code>init</code> and is the new behavior.</li>
187-
<li>The <code>author.date</code>, <code>committer.date</code>, <code>tagger.date</code> parameters were removed in favor of <code>author.timestamp</code>, <code>comitter.timestamp</code>, <code>tagger.timestamp</code> in order to be clear about what is actually written and share the same shape as the return types in <code>readCommit</code>, <code>log</code>, and <code>readTag</code>.</li>
187+
<li>The <code>author.date</code>, <code>committer.date</code>, <code>tagger.date</code> parameters were removed in favor of <code>author.timestamp</code>, <code>committer.timestamp</code>, <code>tagger.timestamp</code> in order to be clear about what is actually written and share the same shape as the return types in <code>readCommit</code>, <code>log</code>, and <code>readTag</code>.</li>
188188
</ul>
189189
<h3><a class="anchor" aria-hidden="true" id="the-return-types-of-some-functions-have-changed"></a><a href="#the-return-types-of-some-functions-have-changed" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>The return types of some functions have changed:</h3>
190190
<ul>
@@ -484,15 +484,15 @@ <h2><a class="anchor" aria-hidden="true" id="you-can-deploy-your-own-git-cors-pr
484484
Branch issue-107 <span class="hljs-built_in">set</span> up to track remote branch issue-107 from origin.
485485
</code></pre>
486486
<p>(If the linter had found any style problems, it would have fixed them using prettier.
487-
I have not automated ammending the commit though, so I would have to fix the commit with
487+
I have not automated amending the commit though, so I would have to fix the commit with
488488
<code>git add -u &amp;&amp; git commit --amend --no-edit</code> and try pushing again.)</p>
489489
<p>Since it succeeded, it will show up on the <a href="https://github.com/isomorphic-git/isomorphic-git">Github page</a>
490490
near the top, under &quot;Your recently pushed branches:&quot;. I go there and click the &quot;Compare &amp; pull request&quot; button.</p>
491491
<p>By default, Github uses the commit message as the PR title, which is usually fine.
492492
However, now I will tack on &quot;(fixes #107)&quot; to the end of the title just so Github automatically creates a hyperlink between
493493
the issue and the PR.</p>
494494
<p>... I lied. Github is not smart enough to use the PR title. :eyeroll:
495-
I edit the PR description to be &quot;fixes #107&quot; and <em>then</em> Github adds the &quot;wmhilton referened this issue a minute ago&quot; link to the PR to the issue.</p>
495+
I edit the PR description to be &quot;fixes #107&quot; and <em>then</em> Github adds the &quot;wmhilton referenced this issue a minute ago&quot; link to the PR to the issue.</p>
496496
<p>Now we wait for the Continuous Integration (CI) system to do its thing.
497497
I didn't actually check if it would work in the browser -
498498
which we could have done by running <code>npm run test</code> (which will run Jasmine and Karma) instead of just <code>jest</code> -

docs/en/0.70.7/annotatedTag.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
<tr><td>tagger.date</td><td>string</td><td>Set the tagger timestamp field. Default is the current date.</td></tr>
7474
<tr><td>tagger.timestamp</td><td>string</td><td>Set the tagger timestamp field. This is an alternative to using <code>date</code> using an integer number of seconds since the Unix epoch instead of a JavaScript date object.</td></tr>
7575
<tr><td>tagger.timezoneOffset</td><td>string</td><td>Set the tagger timezone offset field. This is the difference, in minutes, from the current timezone to UTC. Default is <code>(new Date()).getTimezoneOffset()</code>.</td></tr>
76-
<tr><td>signature</td><td>string</td><td>The signature attatched to the tag object. (Mutually exclusive with the <code>signingKey</code> option.)</td></tr>
76+
<tr><td>signature</td><td>string</td><td>The signature attached to the tag object. (Mutually exclusive with the <code>signingKey</code> option.)</td></tr>
7777
<tr><td>signingKey</td><td>string</td><td>Sign the tag object using this private PGP key. (Mutually exclusive with the <code>signature</code> option.)</td></tr>
7878
<tr><td>force</td><td>boolean = false</td><td>Instead of throwing an error if a tag named <code>ref</code> already exists, overwrite the existing tag. Note that this option does not modify the original tag object itself.</td></tr>
7979
<tr><td>return</td><td>Promise&lt;void&gt;</td><td>Resolves successfully when filesystem operations are complete</td></tr>

docs/en/0.70.7/annotatedTag/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
<tr><td>tagger.date</td><td>string</td><td>Set the tagger timestamp field. Default is the current date.</td></tr>
7474
<tr><td>tagger.timestamp</td><td>string</td><td>Set the tagger timestamp field. This is an alternative to using <code>date</code> using an integer number of seconds since the Unix epoch instead of a JavaScript date object.</td></tr>
7575
<tr><td>tagger.timezoneOffset</td><td>string</td><td>Set the tagger timezone offset field. This is the difference, in minutes, from the current timezone to UTC. Default is <code>(new Date()).getTimezoneOffset()</code>.</td></tr>
76-
<tr><td>signature</td><td>string</td><td>The signature attatched to the tag object. (Mutually exclusive with the <code>signingKey</code> option.)</td></tr>
76+
<tr><td>signature</td><td>string</td><td>The signature attached to the tag object. (Mutually exclusive with the <code>signingKey</code> option.)</td></tr>
7777
<tr><td>signingKey</td><td>string</td><td>Sign the tag object using this private PGP key. (Mutually exclusive with the <code>signature</code> option.)</td></tr>
7878
<tr><td>force</td><td>boolean = false</td><td>Instead of throwing an error if a tag named <code>ref</code> already exists, overwrite the existing tag. Note that this option does not modify the original tag object itself.</td></tr>
7979
<tr><td>return</td><td>Promise&lt;void&gt;</td><td>Resolves successfully when filesystem operations are complete</td></tr>

0 commit comments

Comments
 (0)