Skip to content

Commit 5900684

Browse files
authored
fix typos with codespell (#1354)
1 parent 1cc59ee commit 5900684

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.codespellrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
skip = *.lock,./webknossos/tests/cassettes,./webknossos/tests/dataset/cassettes,./webknossos/webknossos/dataset/_utils/vendor
44
# some names and camelCased variables etc
55
ignore-regex = \b([a-z]+[A-Z][a-zA-Z]*)\b
6-
ignore-words-list = nd,ND
6+
ignore-words-list = nd,ND,lod,LOD

cluster_tools/cluster_tools/schedulers/slurm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ def _investigate_memory_consumption(
507507
elif max_rss > req_mem:
508508
# Check if job accounting canceled the job. This is the case if JobAcctGatherParam=OverMemoryKill
509509
# is enabled.
510-
reason = f"The job was probably terminated because it consumed too much memory. Required {max_rss / 1000} MB but requeseted {req_mem / 1000} MB."
510+
reason = f"The job was probably terminated because it consumed too much memory. Required {max_rss / 1000} MB but requested {req_mem / 1000} MB."
511511
else:
512512
return None
513513
return (reason, RemoteOutOfMemoryException)

webknossos/tests/test_annotation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def test_annotation_from_file_with_multi_volume() -> None:
154154

155155
@pytest.mark.use_proxay
156156
def test_dataset_access_via_annotation() -> None:
157-
# This is a regression test for a bug occuring when the dataset name was changed
157+
# This is a regression test for a bug occurring when the dataset name was changed
158158
# while it was referenced in an annotation.
159159

160160
# load a remote dataset

webknossos/webknossos/dataset/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ def upload(
11911191
for layer in self.get_segmentation_layers():
11921192
if not layer.attachments.is_empty:
11931193
raise NotImplementedError(
1194-
f"Uploading layers with attachments is not supported yet. Layer {layer.name} has attchments."
1194+
f"Uploading layers with attachments is not supported yet. Layer {layer.name} has attachments."
11951195
)
11961196

11971197
dataset_id = upload_dataset(

0 commit comments

Comments
 (0)