Skip to content

Commit 93f06c2

Browse files
committed
More ignores and fixups
1 parent 3369f04 commit 93f06c2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.codespellrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
skip = .git*,*.css,.codespellrc,gene_names.json,requirements*.txt
55
check-hidden = true
66
# embedded images and otherwise too long lines
7-
ignore-regex = ^\s*"image/\S+": ".*|.{300,}
7+
ignore-regex = ^\s*"image/\S+": ".*|.{300,}|\bFOM\b|.*codespell-ignore
88
# ignore-words-list =

siibra/commons.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ def connected_components(
570570
Yields
571571
------
572572
Generator[Tuple[int, np.ndarray], None, None]
573-
tuple of integer label of the component and component as an nd.array in
573+
tuple of integer label of the component and component as an ndarray in
574574
the shape of the original image.
575575
"""
576576
from skimage import measure

test/core/test_region.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def test_parse_id_arg(id_param, expected_val, raise_flag):
204204
({"id": "aabbcc-0099"}, "aabbcc-0099", False),
205205
206206
({"foo": "aabbcc-0099"}, None, True),
207-
("hello worl", None, True),
207+
("hello worl", None, True), // .*codespell-ignore
208208
({"id": "hello worlfoo"}, None, True),
209209
])
210210
def test_get_uuid(long_id, expected_val, error_flag):

0 commit comments

Comments
 (0)