File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,8 @@ lines-between-types = 1
70
70
[tool .ruff .lint .per-file-ignores ]
71
71
'tests/*.py' = [
72
72
' F841' , # Unused variable warning for test files -- common in pymc model declarations
73
- ' D106' # Missing docstring for public method -- unittest test subclasses don't need docstrings
73
+ ' D106' , # Missing docstring for public method -- unittest test subclasses don't need docstrings
74
+ ' E402' # Import at top, not respected when pytest.importorskip is required
74
75
]
75
76
'tests/statespace/*.py' = [
76
77
' F401' , # Unused import warning for test files -- this check removes imports of fixtures
Original file line number Diff line number Diff line change 11
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
- import jax
15
14
import numpy as np
16
15
import pymc as pm
17
16
import pytensor .tensor as pt
21
20
from numpy import dtype
22
21
from xarray .core .utils import Frozen
23
22
23
+ jax = pytest .importorskip ("jax" )
24
+ pytest .importorskip ("blackjax" )
25
+
24
26
from pymc_experimental .inference .smc .sampling import (
25
27
arviz_from_particles ,
26
28
blackjax_particles_from_pymc_population ,
You can’t perform that action at this time.
0 commit comments