Skip to content

Commit ad50279

Browse files
committed
Applied codespell
1 parent c4e10e3 commit ad50279

File tree

7 files changed

+21
-17
lines changed

7 files changed

+21
-17
lines changed

cwl_utils/parser/cwl_v1_0.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4035,7 +4035,7 @@ class Directory(Saveable):
40354035
the same Directory.
40364036

40374037
When executing a CommandLineTool, Directories must be recursively staged
4038-
first and have local values of `path` assigend.
4038+
first and have local values of `path` assigned.
40394039

40404040
Directory objects in CommandLineTool output must provide either a
40414041
`location` URI or a `path` property in the context of the tool execution
@@ -16266,7 +16266,7 @@ class ShellCommandRequirement(ProcessRequirement):
1626616266
Modify the behavior of CommandLineTool to generate a single string
1626716267
containing a shell command line. Each item in the argument list must be
1626816268
joined into a string separated by single spaces and quoted to prevent
16269-
intepretation by the shell, unless `CommandLineBinding` for that argument
16269+
interpretation by the shell, unless `CommandLineBinding` for that argument
1627016270
contains `shellQuote: false`. If `shellQuote: false` is specified, the
1627116271
argument is joined into the command string without quoting, which allows
1627216272
the use of shell metacharacters such as `|` for pipes.
@@ -20275,7 +20275,7 @@ class Workflow(Process):
2027520275
The `source` field expresses the dependency of one parameter on another
2027620276
such that when a value is associated with the parameter specified by
2027720277
`source`, that value is propagated to the destination parameter. When all
20278-
data links inbound to a given step are fufilled, the step is ready to
20278+
data links inbound to a given step are fulfilled, the step is ready to
2027920279
execute.
2028020280

2028120281
## Workflow success and failure

cwl_utils/parser/cwl_v1_1.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4035,7 +4035,7 @@ class Directory(Saveable):
40354035
the same Directory.
40364036

40374037
When executing a CommandLineTool, Directories must be recursively staged
4038-
first and have local values of `path` assigend.
4038+
first and have local values of `path` assigned.
40394039

40404040
Directory objects in CommandLineTool output must provide either a
40414041
`location` URI or a `path` property in the context of the tool execution
@@ -17590,7 +17590,7 @@ class ShellCommandRequirement(ProcessRequirement):
1759017590
Modify the behavior of CommandLineTool to generate a single string
1759117591
containing a shell command line. Each item in the argument list must be
1759217592
joined into a string separated by single spaces and quoted to prevent
17593-
intepretation by the shell, unless `CommandLineBinding` for that argument
17593+
interpretation by the shell, unless `CommandLineBinding` for that argument
1759417594
contains `shellQuote: false`. If `shellQuote: false` is specified, the
1759517595
argument is joined into the command string without quoting, which allows
1759617596
the use of shell metacharacters such as `|` for pipes.
@@ -18331,7 +18331,7 @@ class WorkReuse(ProcessRequirement):
1833118331
For implementations that support reusing output from past work (on
1833218332
the assumption that same code and same input produce same
1833318333
results), control whether to enable or disable the reuse behavior
18334-
for a particular tool or step (to accomodate situations where that
18334+
for a particular tool or step (to accommodate situations where that
1833518335
assumption is incorrect). A reused step is not executed but
1833618336
instead returns the same output as the original execution.
1833718337

@@ -18529,7 +18529,7 @@ class NetworkAccess(ProcessRequirement):
1852918529
may apply their own security policies to restrict what is
1853018530
accessible by the tool.
1853118531

18532-
Enabling network access does not imply a publically routable IP
18532+
Enabling network access does not imply a publicly routable IP
1853318533
address or the ability to accept inbound connections.
1853418534

1853518535
"""
@@ -18727,7 +18727,7 @@ class InplaceUpdateRequirement(ProcessRequirement):
1872718727
read-only in every step.
1872818728

1872918729
Workflow steps which modify a file must produce the modified file
18730-
as output. Downstream steps which futher process the file must
18730+
as output. Downstream steps which further process the file must
1873118731
use the output of previous steps, and not refer to a common input
1873218732
(this is necessary for both ordering and correctness).
1873318733

@@ -21672,7 +21672,7 @@ class WorkflowStepInput(IdentifierRequired, Sink, LoadContents, Labeled):
2167221672
workflow inputs, or the outputs of other workflows steps) with the input
2167321673
parameters of the process specified by the `run` field. Only input parameters
2167421674
declared by the target process will be passed through at runtime to the process
21675-
though additonal parameters may be specified (for use within `valueFrom`
21675+
though additional parameters may be specified (for use within `valueFrom`
2167621676
expressions for instance) - unconnected or unused parameters do not represent an
2167721677
error condition.
2167821678

@@ -23210,7 +23210,7 @@ class Workflow(Process):
2321023210
The `source` field expresses the dependency of one parameter on another
2321123211
such that when a value is associated with the parameter specified by
2321223212
`source`, that value is propagated to the destination parameter. When all
23213-
data links inbound to a given step are fufilled, the step is ready to
23213+
data links inbound to a given step are fulfilled, the step is ready to
2321423214
execute.
2321523215

2321623216
## Workflow success and failure

cwl_utils/templates/WorkflowInputJsonSchemaTemplate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ def add_cwl_metadata_to_schema(schema_dict: Dict) -> Dict:
717717
# Always do a deepcopy on the input
718718
schema_dict = deepcopy(schema_dict)
719719

720-
# Assert defintions
720+
# Assert definitions
721721
assert_definitions_key(schema_dict)
722722

723723
# Add in the CWL metadata to the definitions
@@ -1059,7 +1059,7 @@ def fix_hints(schema_dict, definition_key):
10591059

10601060
def add_file_and_directory_to_schema(schema_dict: Dict) -> Dict:
10611061
"""
1062-
Add file and directory defintions to schema
1062+
Add file and directory definitions to schema
10631063
:param schema_dict:
10641064
:return:
10651065
"""

cwl_utils/testdata/EDAM_subset.owl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<oboInOwl:hasSubset>data &quot;EDAM types of data&quot;</oboInOwl:hasSubset>
4040
<oboInOwl:hasSubset>relations &quot;EDAM relations&quot;</oboInOwl:hasSubset>
4141
<oboInOwl:hasSubset>edam &quot;EDAM&quot;</oboInOwl:hasSubset>
42-
<oboOther:remark>EDAM editors: Jon Ison, Matus Kalas, and Herve Menager. Contributors: Inge Jonassen, Dan Bolser, Hamish McWilliam, Mahmut Uludag, James Malone, Rodrigo Lopez, Steve Pettifer, and Peter Rice. Contibutions from these projects: EMBRACE, ELIXIR, and BioMedBridges (EU); EMBOSS (BBSRC, UK); eSysbio, FUGE Bioinformatics Platform, and ELIXIR.NO/Norwegian Bioinformatics Platform (Research Council of Norway). See http://edamontology.org for documentation and licence.</oboOther:remark>
42+
<oboOther:remark>EDAM editors: Jon Ison, Matus Kalas, and Herve Menager. Contributors: Inge Jonassen, Dan Bolser, Hamish McWilliam, Mahmut Uludag, James Malone, Rodrigo Lopez, Steve Pettifer, and Peter Rice. Contributions from these projects: EMBRACE, ELIXIR, and BioMedBridges (EU); EMBOSS (BBSRC, UK); eSysbio, FUGE Bioinformatics Platform, and ELIXIR.NO/Norwegian Bioinformatics Platform (Research Council of Norway). See http://edamontology.org for documentation and licence.</oboOther:remark>
4343
<oboInOwl:hasSubset>operations &quot;EDAM operations&quot;</oboInOwl:hasSubset>
4444
<oboOther:idspace>EDAM http://edamontology.org/ &quot;EDAM relations and concept properties&quot;</oboOther:idspace>
4545
<dc:format>application/rdf+xml</dc:format>
@@ -97,7 +97,7 @@
9797

9898
<owl:AnnotationProperty rdf:about="http://edamontology.org/example">
9999
<rdfs:label>Example</rdfs:label>
100-
<oboInOwl:hasDefinition>&apos;Example&apos; concept property (&apos;example&apos; metadat tag) lists examples of valid values of types of identifiers (accessions). Applicable to some other types of data, too.</oboInOwl:hasDefinition>
100+
<oboInOwl:hasDefinition>&apos;Example&apos; concept property (&apos;example&apos; metadata tag) lists examples of valid values of types of identifiers (accessions). Applicable to some other types of data, too.</oboInOwl:hasDefinition>
101101
<oboOther:is_metadata_tag>true</oboOther:is_metadata_tag>
102102
<oboInOwl:inSubset>concept_properties</oboInOwl:inSubset>
103103
</owl:AnnotationProperty>

cwl_utils/testdata/revsort-run-1-packed.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{
2525
"type": "boolean",
2626
"default": true,
27-
"doc": "If true, reverse (decending) sort",
27+
"doc": "If true, reverse (descending) sort",
2828
"id": "#main/reverse_sort"
2929
}
3030
],

lint-requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
flake8-bugbear < 25.12
1+
auto-walrus == 0.3.4
22
black == 25.*
3-
codespell
3+
codespell == 2.4.1
4+
flake8-bugbear < 25.12
45
isort >= 5

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,6 @@ ignore = [
142142

143143
[tool.bandit]
144144
exclude_dirs = ["cwl_utils/tests"]
145+
146+
[tool.codespell]
147+
ignore-words-list = "afile"

0 commit comments

Comments
 (0)