Skip to content

Commit 6cbeace

Browse files
committed
MAINT: Fix codespell errors
1 parent 591c23c commit 6cbeace

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

docs/changes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Release Notes
99
* adding simple validators to input spec (using ``attr.validator``)
1010
* adding ``create_dotfile`` for workflows, that creates graphs as dotfiles (can convert to other formats if dot available)
1111
* adding a simple user guide with ``input_spec`` description
12-
* expanding docstrings for ``State``, ``audit`` and ``messanger``
12+
* expanding docstrings for ``State``, ``audit`` and ``messenger``
1313
* updating syntax to newer python
1414

1515
0.7.0

pydra/engine/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class TaskBase:
6060
"""
6161
A base structure for the nodes in the processing graph.
6262
63-
Tasks are a generic compute step from which both elemntary tasks and
63+
Tasks are a generic compute step from which both elementary tasks and
6464
:class:`Workflow` instances inherit.
6565
6666
"""
@@ -546,7 +546,7 @@ def _run(self, rerun=False, environment=None, **kwargs):
546546
self.hooks.post_run_task(self, result)
547547
self.audit.finalize_audit(result)
548548
save(output_dir, result=result, task=self)
549-
# removing the additional file with the chcksum
549+
# removing the additional file with the checksum
550550
(self.cache_dir / f"{self.uid}_info.json").unlink()
551551
# # function etc. shouldn't change anyway, so removing
552552
orig_inputs = {
@@ -1252,7 +1252,7 @@ async def _run(self, submitter=None, rerun=False, **kwargs):
12521252
self.hooks.post_run_task(self, result)
12531253
self.audit.finalize_audit(result=result)
12541254
save(output_dir, result=result, task=self)
1255-
# removing the additional file with the chcksum
1255+
# removing the additional file with the checksum
12561256
(self.cache_dir / f"{self.uid}_info.json").unlink()
12571257
os.chdir(cwd)
12581258
self.hooks.post_run(self, result)

pydra/engine/environments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
class Environment:
77
"""
88
Base class for environments that are used to execute tasks.
9-
Right now it is asssumed that the environment, including container images,
9+
Right now it is assumed that the environment, including container images,
1010
are available and are not removed at the end
1111
TODO: add setup and teardown methods
1212
"""

pydra/engine/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ def _create_dotfile_single_graph(self, nodes, edges):
499499
return dotstr
500500

501501
def export_graph(self, dotfile, ext="png"):
502-
"""exporting dotfile to other format, equires the dot command"""
502+
"""exporting dotfile to other formats requires the dot command"""
503503
available_ext = [
504504
"bmp",
505505
"canon",

pydra/engine/tests/test_shelltask.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4815,7 +4815,7 @@ def formatter_3(in1, in3):
48154815
== str(excinfo.value)
48164816
)
48174817

4818-
# chcking if field value is accessible when None
4818+
# checking if field value is accessible when None
48194819
def formatter_5(field):
48204820
assert field == "-t test"
48214821
# formatter must return a string
@@ -4832,7 +4832,7 @@ def formatter_5(field):
48324832
)
48334833
assert shelly.cmdline == "exec -t test"
48344834

4835-
# chcking if field value is accessible when None
4835+
# checking if field value is accessible when None
48364836
def formatter_4(field):
48374837
assert field is None
48384838
# formatter must return a string

0 commit comments

Comments
 (0)