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
7070[tool .ruff .lint .per-file-ignores ]
7171'tests/*.py' = [
7272 ' 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
7475]
7576'tests/statespace/*.py' = [
7677 ' F401' , # Unused import warning for test files -- this check removes imports of fixtures
Original file line number Diff line number Diff line change 1111# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212# See the License for the specific language governing permissions and
1313# limitations under the License.
14- import jax
1514import numpy as np
1615import pymc as pm
1716import pytensor .tensor as pt
2120from numpy import dtype
2221from xarray .core .utils import Frozen
2322
23+ jax = pytest .importorskip ("jax" )
24+ pytest .importorskip ("blackjax" )
25+
2426from pymc_experimental .inference .smc .sampling import (
2527 arviz_from_particles ,
2628 blackjax_particles_from_pymc_population ,
You can’t perform that action at this time.
0 commit comments