Skip to content

Commit 2e4910a

Browse files
committed
fix codespell-discovered typos
1 parent 917c3dd commit 2e4910a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

cwltool/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444

4545
class ContextBase:
46-
"""Shared kwargs based initilizer for :py:class:`RuntimeContext` and :py:class:`LoadingContext`."""
46+
"""Shared kwargs based initializer for :py:class:`RuntimeContext` and :py:class:`LoadingContext`."""
4747

4848
def __init__(self, kwargs: Optional[Dict[str, Any]] = None) -> None:
4949
"""Initialize."""

tests/test_toolargparse.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def test_dont_require_inputs(tmp_path: Path) -> None:
180180

181181

182182
def test_argparser_with_doc() -> None:
183-
"""The `desription` field is set if `doc` field is provided."""
183+
"""The `description` field is set if `doc` field is provided."""
184184
loadingContext = LoadingContext()
185185
tool = load_tool(get_data("tests/with_doc.cwl"), loadingContext)
186186
p = argparse.ArgumentParser()
@@ -189,7 +189,7 @@ def test_argparser_with_doc() -> None:
189189

190190

191191
def test_argparser_without_doc() -> None:
192-
"""The `desription` field is None if `doc` field is not provided."""
192+
"""The `description` field is None if `doc` field is not provided."""
193193
loadingContext = LoadingContext()
194194
tool = load_tool(get_data("tests/without_doc.cwl"), loadingContext)
195195
p = argparse.ArgumentParser()

tests/wf/schemadef-bug-1473.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@
449449
"name": "#settings-by-samples__1.0.0.yaml/settings-by-samples/samples"
450450
},
451451
{
452-
"label": "settings by override cylces",
452+
"label": "settings by override cycles",
453453
"doc": "Additional bcl convert settings\n",
454454
"type": [
455455
"null",

0 commit comments

Comments
 (0)