Skip to content

Commit 83a98a2

Browse files
committed
Run linters
1 parent f86a3b9 commit 83a98a2

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

examples/heteroscedastic_inference.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
from jax import config
4545
import jax.numpy as jnp
4646
import jax.random as jr
47-
import matplotlib.pyplot as plt
4847
import matplotlib as mpl
48+
import matplotlib.pyplot as plt
4949
import optax as ox
5050

5151
from examples.utils import use_mpl_style
@@ -55,7 +55,6 @@
5555
LogNormalTransform,
5656
SoftplusTransform,
5757
)
58-
from gpjax.objectives import heteroscedastic_elbo
5958
from gpjax.variational_families import (
6059
HeteroscedasticVariationalFamily,
6160
VariationalGaussianInit,

gpjax/citation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
Matern32,
2424
Matern52,
2525
)
26-
2726
from gpjax.likelihoods import HeteroscedasticGaussian
2827

2928
CitationType = Union[None, str, Dict[str, str]]

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from jax import config
21
from hypothesis import settings
2+
from jax import config
33
from jaxtyping import install_import_hook
44

55
config.update("jax_enable_x64", True)

tests/integration_tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
)
2929
import jax.numpy as jnp # noqa: F401
3030
import jupytext
31+
3132
import gpjax
3233

3334
# %%

tests/test_citations.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
Matern32,
2424
Matern52,
2525
)
26-
27-
2826
from gpjax.likelihoods import HeteroscedasticGaussian
2927
from gpjax.mean_functions import Zero
3028

tests/test_heteroscedastic.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@
1313
# limitations under the License.
1414
# ==============================================================================
1515
from flax import nnx
16+
from hypothesis import (
17+
given,
18+
strategies as st,
19+
)
1620
import jax
1721
from jax import config
1822
import jax.numpy as jnp
1923
import jax.random as jr
2024
import pytest
21-
from hypothesis import given, settings, strategies as st
2225

2326
import gpjax as gpx
2427
from gpjax.dataset import Dataset

0 commit comments

Comments
 (0)