Skip to content

Commit 36d0135

Browse files
prasad-sawantdesaiolivhoenen
authored andcommitted
fixed black formatting
1 parent b7bbd8c commit 36d0135

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

imas/test/test_helpers.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,11 @@ def fill_consistent(
332332
data = child._parent[name]
333333
if not data.has_value:
334334
maybe_set_random_value(data, 0.0, skip_complex)
335-
if not data.has_value or len(data.shape) == 0 or any(s == 0 for s in data.shape):
335+
if (
336+
not data.has_value
337+
or len(data.shape) == 0
338+
or any(s == 0 for s in data.shape)
339+
):
336340
error_skip = True
337341
except (KeyError, AttributeError, RuntimeError, ValueError):
338342
error_skip = True
@@ -342,7 +346,11 @@ def fill_consistent(
342346
data = child._parent[name]
343347
if not data.has_value:
344348
maybe_set_random_value(data, 0.0, skip_complex)
345-
if not data.has_value or len(data.shape) == 0 or any(s == 0 for s in data.shape):
349+
if (
350+
not data.has_value
351+
or len(data.shape) == 0
352+
or any(s == 0 for s in data.shape)
353+
):
346354
error_skip = True
347355
except (KeyError, AttributeError, RuntimeError, ValueError):
348356
error_skip = True

0 commit comments

Comments
 (0)