Skip to content

Commit 597f504

Browse files
authored
Merge pull request #161 from yarikoptic/enh-codespell
Codespell: config, action, typos fixed
2 parents 28fc088 + 8a82e68 commit 597f504

File tree

68 files changed

+186
-153
lines changed

Some content is hidden

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

68 files changed

+186
-153
lines changed

.github/workflows/codespell.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Codespell
3+
4+
on:
5+
push:
6+
branches: [main]
7+
pull_request:
8+
branches: [main]
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
codespell:
15+
name: Check for spelling errors
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v3
21+
- name: Codespell
22+
uses: codespell-project/actions-codespell@v2

docs/03schemas/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ <h3 id="slotdefinition-normative-subset-metaslots">SlotDefinition: Normative sub
11351135
<tr>
11361136
<td><a href="../all_members/">all_members</a></td>
11371137
<td>0..* <br/> <a href="../SlotDefinition/">SlotDefinition</a></td>
1138-
<td>the value of the multiavlued slot is a list where all elements conform to the...</td>
1138+
<td>the value of the multivalued slot is a list where all elements conform to the...</td>
11391139
</tr>
11401140
<tr>
11411141
<td><a href="../abstract/">abstract</a></td>

docs/04derived-schemas/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,9 +507,9 @@ <h2 id="rule-generation-of-patterns-from-structured-patterns">Rule: Generation o
507507
<p>If <code>p.interpolated</code> is True, then the value of <code>s.syntax</code> is <em>interpolated</em>, by replacing all occurrences of braced text <code>{VAR}</code>
508508
with the value of <code>VAR</code>. The value of <code>VAR</code> is obtained using <code>m.settings[VAR]</code>, where <code>m</code> is the schema in which <code>p</code> is introduced.</p>
509509
<p>If <code>p.interpolated</code> is not True, then the value of <code>s.syntax</code> is used directly.</p>
510-
<p>If <code>p.partial_match</code> is not True, then <code>s.pattern</code> has a '^' character inserted at the begining and a '$' character inserted as the end.</p>
510+
<p>If <code>p.partial_match</code> is not True, then <code>s.pattern</code> has a '^' character inserted at the beginning and a '$' character inserted as the end.</p>
511511
<h3 id="rule-generation-of-classdefinitionreferences">Rule: Generation of ClassDefinitionReferences</h3>
512-
<p>For every <strong>ClassDefinition</strong> <code>c</code>, if there exists a slot <code>s</code> such that <code>s.identifer=True</code>,
512+
<p>For every <strong>ClassDefinition</strong> <code>c</code>, if there exists a slot <code>s</code> such that <code>s.identifier=True</code>,
513513
then a corresponding <strong>ClassDefinitionReference</strong> <code>r</code> is generated.</p>
514514
<p><code>r.name</code> is assigned to be the concatenation of <code>c.name</code> and <code>s.name</code></p>
515515
<p><code>r</code> functionally serves as a <em>foreign key</em> to instances of <code>r</code>, and allows for non-inlined

docs/ClassDefinition/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1577,7 +1577,7 @@ <h3 id="induced">Induced</h3>
15771577
is the identifier of an entire value set. Additionally, this is different than
15781578
an enumeration in that in an enumeration, the values of the enumeration are
15791579
listed directly in the model itself. Setting this property on a slot does not
1580-
guarantee an expansion of the ontological hiearchy into an enumerated list of
1580+
guarantee an expansion of the ontological hierarchy into an enumerated list of
15811581
possible values in every serialization of the model.'
15821582
from_schema: https://w3id.org/linkml/meta
15831583
rank: 1000

docs/Definition/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@ <h3 id="induced">Induced</h3>
11871187
metaslots are propagated from.
11881188
comments:
11891189
- mixins act in the same way as parents (is_a). They allow a model to have a primary
1190-
strict hierachy, while keeping the benefits of multiple inheritance
1190+
strict hierarchy, while keeping the benefits of multiple inheritance
11911191
in_subset:
11921192
- SpecificationSubset
11931193
- BasicSubset
@@ -1231,7 +1231,7 @@ <h3 id="induced">Induced</h3>
12311231
is the identifier of an entire value set. Additionally, this is different than
12321232
an enumeration in that in an enumeration, the values of the enumeration are
12331233
listed directly in the model itself. Setting this property on a slot does not
1234-
guarantee an expansion of the ontological hiearchy into an enumerated list of
1234+
guarantee an expansion of the ontological hierarchy into an enumerated list of
12351235
possible values in every serialization of the model.'
12361236
from_schema: https://w3id.org/linkml/meta
12371237
rank: 1000

docs/EnumDefinition/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ <h3 id="induced">Induced</h3>
11351135
metaslots are propagated from.
11361136
comments:
11371137
- mixins act in the same way as parents (is_a). They allow a model to have a primary
1138-
strict hierachy, while keeping the benefits of multiple inheritance
1138+
strict hierarchy, while keeping the benefits of multiple inheritance
11391139
in_subset:
11401140
- SpecificationSubset
11411141
- BasicSubset
@@ -1179,7 +1179,7 @@ <h3 id="induced">Induced</h3>
11791179
is the identifier of an entire value set. Additionally, this is different than
11801180
an enumeration in that in an enumeration, the values of the enumeration are
11811181
listed directly in the model itself. Setting this property on a slot does not
1182-
guarantee an expansion of the ontological hiearchy into an enumerated list of
1182+
guarantee an expansion of the ontological hierarchy into an enumerated list of
11831183
possible values in every serialization of the model.'
11841184
from_schema: https://w3id.org/linkml/meta
11851185
rank: 1000

docs/Objectidentifier/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ <h1 id="type-objectidentifier">Type: Objectidentifier</h1>
611611
</ul>
612612
<h2 id="comments">Comments</h2>
613613
<ul>
614-
<li>Used for inheritence and type checking</li>
614+
<li>Used for inheritance and type checking</li>
615615
</ul>
616616
<h2 id="identifier-and-mapping-information">Identifier and Mapping Information</h2>
617617
<h3 id="schema-source">Schema Source</h3>

docs/SchemaDefinition/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ <h3 id="induced">Induced</h3>
12461246
from_schema: https://w3id.org/linkml/meta
12471247
rank: 1000
12481248
domain: schema_definition
1249-
readonly: suppplied by the schema loader
1249+
readonly: supplied by the schema loader
12501250
alias: source_file
12511251
owner: schema_definition
12521252
domain_of:

docs/SlotDefinition/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2102,7 +2102,7 @@ <h3 id="induced">Induced</h3>
21022102
subproperty_of:
21032103
name: subproperty_of
21042104
description: 'Ontology property which this slot is a subproperty of. Note: setting
2105-
this property on a slot does not guarantee an expansion of the ontological hiearchy
2105+
this property on a slot does not guarantee an expansion of the ontological hierarchy
21062106
into an enumerated list of possible values in every serialization of the model.'
21072107
examples:
21082108
- value: RO:HOM0000001
@@ -2383,7 +2383,7 @@ <h3 id="induced">Induced</h3>
23832383
path_rule:
23842384
name: path_rule
23852385
description: a rule for inferring a slot assignment based on evaluating a path
2386-
through a sequence of slot assignemnts
2386+
through a sequence of slot assignments
23872387
from_schema: https://w3id.org/linkml/meta
23882388
rank: 1000
23892389
domain: slot_definition
@@ -2997,7 +2997,7 @@ <h3 id="induced">Induced</h3>
29972997
is the identifier of an entire value set. Additionally, this is different than
29982998
an enumeration in that in an enumeration, the values of the enumeration are
29992999
listed directly in the model itself. Setting this property on a slot does not
3000-
guarantee an expansion of the ontological hiearchy into an enumerated list of
3000+
guarantee an expansion of the ontological hierarchy into an enumerated list of
30013001
possible values in every serialization of the model.'
30023002
from_schema: https://w3id.org/linkml/meta
30033003
rank: 1000

docs/TypeDefinition/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ <h3 id="induced">Induced</h3>
858858
description: python base type that implements this type definition
859859
comments:
860860
- every root type must have a base
861-
- the base is inherited by child types but may be overriden. Base compatibility
861+
- the base is inherited by child types but may be overridden. Base compatibility
862862
is not checked.
863863
in_subset:
864864
- SpecificationSubset

0 commit comments

Comments
 (0)