Skip to content

Commit e84acd8

Browse files
committed
fix pre-commit
1 parent 9978e9e commit e84acd8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pymc/distributions/shape_utils.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def to_tuple(shape: Optional[Union[None, int, np.ndarray]]) -> Tuple:
6262
tuple
6363
If `shape` is None, returns an empty tuple. If it's an int, (shape,) is
6464
returned. If it is array-like, `tuple(shape)` is returned.
65-
65+
6666
Examples
6767
--------
6868
>>> to_tuple(None)
@@ -97,7 +97,9 @@ def _check_shape_type(shape):
9797
return tuple(out)
9898

9999

100-
def broadcast_dist_samples_shape(shapes: Iterable[Tuple[int, ...]], size: Optional[int] = None) -> Tuple[int, ...]:
100+
def broadcast_dist_samples_shape(
101+
shapes: Iterable[Tuple[int, ...]], size: Optional[int] = None
102+
) -> Tuple[int, ...]:
101103
"""Apply shape broadcasting to shape tuples for random variables.
102104
103105
Parameters

0 commit comments

Comments
 (0)