Skip to content

Commit 54705ae

Browse files
committed
run pre-commit
1 parent 30dedf2 commit 54705ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pymc/testing.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@
1818
from collections.abc import Callable, Sequence
1919
from typing import Any
2020

21-
from arviz import InferenceData
22-
from xarray import DataArray
2321
import numpy as np
2422
import pytensor
2523
import pytensor.tensor as pt
2624

25+
from arviz import InferenceData
2726
from numpy import random as nr
2827
from numpy import testing as npt
2928
from pytensor.compile.mode import Mode
@@ -33,6 +32,7 @@
3332
from pytensor.tensor.random.op import RandomVariable
3433
from scipy import special as sp
3534
from scipy import stats as st
35+
from xarray import DataArray
3636

3737
import pymc as pm
3838

@@ -1028,7 +1028,7 @@ def mock_pymc_sample():
10281028
coords={"chain": np.arange(n_chains)},
10291029
)
10301030
idata.add_groups(
1031-
posterior=(idata.prior.mean("chain") * expanded_chains).transpose("chain", "draw", ...)
1031+
posterior=(idata.prior.mean("chain") * expanded_chains).transpose("chain", "draw", ...),
10321032
)
10331033
del idata.prior
10341034
if "prior_predictive" in idata:

0 commit comments

Comments
 (0)