Skip to content

Commit 6b796d6

Browse files
committed
spellcheck
1 parent f1ae187 commit 6b796d6

31 files changed

+69
-70
lines changed

.github/workflows/ci-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Continous integration tests
1+
name: Continuous integration tests
22

33
on:
44
push:

CWLProv.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ Note that the `arcp <https://tools.ietf.org/id/draft-soilandreyes-arcp-03.html>`
235235
Account who launched cwltool
236236
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
237237

238-
If `--enable-user-provenance` was used, the local machine acccount (e.g. Windows or UNIX user name) who started ``cwltool`` is tracked::
238+
If `--enable-user-provenance` was used, the local machine account (e.g. Windows or UNIX user name) who started ``cwltool`` is tracked::
239239

240240
agent(id:855c6823-bbe7-48a5-be37-b0f07f20c495, [foaf:accountName="stain", prov:type='foaf:OnlineAccount', prov:label="stain"])
241241

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ pyupgrade: $(PYSOURCES)
190190
pyupgrade --exit-zero-even-if-changed --py36-plus $^
191191

192192
release-test: check-python3 FORCE
193-
git diff-index --quiet HEAD -- || ( echo You have uncommited changes, please commit them and try again; false )
193+
git diff-index --quiet HEAD -- || ( echo You have uncommitted changes, please commit them and try again; false )
194194
./release-test.sh
195195

196196
release: release-test

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ Environment Variables in cwltool
338338
This reference implementation supports several ways of setting
339339
environment variables for tools, in addition to the standard
340340
``EnvVarRequirement``. The sequence of steps applied to create the
341-
enviroment is:
341+
environment is:
342342

343343
0. If the ``--preserve-entire-environment`` flag is present, then begin with the current
344344
environment, else begin with an empty environment.
@@ -381,7 +381,7 @@ which your tool runs, for example by loading one or more Environment
381381
Modules. The environment is constructed as above, then the environment
382382
may modified by the selected tool resolver. This currently means that
383383
you cannot override any environment variables set by the selected tool
384-
resolver. Note that the enviroment given to the configured dependency
384+
resolver. Note that the environment given to the configured dependency
385385
resolver has the variable `_CWLTOOL` set to `1` to allow introspection.
386386

387387
To discuss some of these plugins and how to configure them, first consider the
@@ -691,7 +691,7 @@ the following in the terminal:
691691

692692
List of all environment can be seen using:
693693
``tox --listenvs``
694-
and running a specfic test env using:
694+
and running a specific test env using:
695695
``tox -e <env name>``
696696
and additionally run a specific test using this format:
697697
``tox -e py310-unit -- -v tests/test_examples.py::test_scandeps``

cwltool/checker.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,9 @@ def static_checker(
191191
# sink parameters: step_inputs and workflow_outputs
192192

193193
# make a dictionary of source parameters, indexed by the "id" field
194-
src_parms = workflow_inputs + step_outputs
195-
src_dict = {} # type: Dict[str, CWLObjectType]
196-
for parm in src_parms:
197-
src_dict[cast(str, parm["id"])] = parm
194+
src_dict: Dict[str, CWLObjectType] = {}
195+
for param in workflow_inputs + step_outputs:
196+
src_dict[cast(str, param["id"])] = param
198197

199198
step_inputs_val = check_all_types(src_dict, step_inputs, "source", param_to_step)
200199
workflow_outputs_val = check_all_types(
@@ -343,7 +342,7 @@ def check_all_types(
343342
"""
344343
Given a list of sinks, check if their types match with the types of their sources.
345344
346-
sourceField is either "soure" or "outputSource"
345+
sourceField is either "source" or "outputSource"
347346
"""
348347
validation = {"warning": [], "exception": []} # type: Dict[str, List[SrcSink]]
349348
for sink in sinks:

cwltool/command_line_tool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ def _initialworkdir(self, j: JobBase, builder: Builder) -> None:
598598
if isinstance(t, Mapping) and "entry" in t:
599599
# Dirent
600600
entry_field = cast(str, t["entry"])
601-
# the schema guarentees that 'entry' is a string, so the cast is safe
601+
# the schema guarantees that 'entry' is a string, so the cast is safe
602602
entry = builder.do_eval(entry_field, strip_whitespace=False)
603603
if entry is None:
604604
continue
@@ -634,7 +634,7 @@ def _initialworkdir(self, j: JobBase, builder: Builder) -> None:
634634
)
635635
for e in entry:
636636
ec = cast(CWLObjectType, e)
637-
ec["writeable"] = t.get("writable", False)
637+
ec["writable"] = t.get("writable", False)
638638
ls.extend(cast(List[CWLObjectType], entry))
639639
continue
640640

cwltool/docker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def _check_docker_machine_path(path: Optional[str]) -> None:
7878

7979

8080
class DockerCommandLineJob(ContainerCommandLineJob):
81-
"""Runs a CommandLineJob in a sofware container using the Docker engine."""
81+
"""Runs a CommandLineJob in a software container using the Docker engine."""
8282

8383
def __init__(
8484
self,

cwltool/env_to_stdout.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Ideally we would just use `env -0`, because python (thanks to PEPs 538
77
and 540) will set zero to two environment variables to better handle
8-
Unicode-locale interactions, however BSD familiy implementations of
8+
Unicode-locale interactions, however BSD family implementations of
99
`env` do not all support the `-0` flag so we supply this script that
1010
produces equivalent output.
1111
"""
@@ -16,15 +16,15 @@
1616

1717
def deserialize_env(data: str) -> Dict[str, str]:
1818
"""Deserialize the output of `env -0` to dictionary."""
19-
ans = {}
19+
result = {}
2020
for item in data.strip("\0").split("\0"):
2121
key, val = item.split("=", 1)
22-
ans[key] = val
23-
return ans
22+
result[key] = val
23+
return result
2424

2525

2626
def main() -> None:
27-
"""Print the null-separated enviroment to stdout."""
27+
"""Print the null-separated environment to stdout."""
2828
for k, v in os.environ.items():
2929
print(f"{k}={v}", end="\0")
3030

cwltool/executors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def run_job(
341341
job: Optional[JobsType],
342342
runtime_context: RuntimeContext,
343343
) -> None:
344-
"""Execute a single Job in a seperate thread."""
344+
"""Execute a single Job in a separate thread."""
345345
if job is not None:
346346
with self.pending_jobs_lock:
347347
self.pending_jobs.append(job)

cwltool/extensions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ $graph:
8787
For implementations that support reusing output from past work (on
8888
the assumption that same code and same input produce same
8989
results), control whether to enable or disable the reuse behavior
90-
for a particular tool or step (to accomodate situations where that
90+
for a particular tool or step (to accommodate situations where that
9191
assumption is incorrect). A reused step is not executed but
9292
instead returns the same output as the original execution.
9393
@@ -123,7 +123,7 @@ $graph:
123123
may apply their own security policies to restrict what is
124124
accessible by the tool.
125125
126-
Enabling network access does not imply a publically routable IP
126+
Enabling network access does not imply a publicly routable IP
127127
address or the ability to accept inbound connections.
128128
129129
fields:

0 commit comments

Comments
 (0)