Skip to content

Commit e37823e

Browse files
authored
merge conflicts
1 parent 0279e44 commit e37823e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

neo/core/baseneo.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ def _check_annotations(value):
3333
"""
3434
if isinstance(value, np.ndarray):
3535
if not issubclass(value.dtype.type, ALLOWED_ANNOTATION_TYPES):
36-
raise ValueError(f"Invalid annotation. NumPy arrays with dtype {value.dtype.type}"
37-
"are not allowed")
36+
raise ValueError(f"Invalid annotation. NumPy arrays with dtype {value.dtype.type} "
37+
f"are not allowed")
3838
elif isinstance(value, dict):
3939
for element in value.values():
4040
_check_annotations(element)
4141
elif isinstance(value, (list, tuple)):
4242
for element in value:
4343
_check_annotations(element)
4444
elif not isinstance(value, ALLOWED_ANNOTATION_TYPES):
45-
raise ValueError(f"Invalid annotation. Annotations of type {type(value)} are not"
46-
"allowed")
45+
raise ValueError(f"Invalid annotation. Annotations of type {type(value)} are not "
46+
f"allowed")
4747

4848

4949
def merge_annotation(a, b):

0 commit comments

Comments
 (0)