Skip to content

Commit

Permalink
fix for repo review
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenworsley committed Nov 14, 2024
1 parent 8dca9bc commit 554b817
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import iris
import numpy as np


from esmf_regrid import _load_context
from esmf_regrid.experimental.unstructured_scheme import (
regrid_unstructured_to_rectilinear,
Expand Down
5 changes: 2 additions & 3 deletions esmf_regrid/tests/unit/schemes/test__mesh_to_MeshInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@
import scipy.sparse

try:
from iris.mesh import MeshXY
from iris.mesh import Connectivity
from iris.mesh import Connectivity, MeshXY
except ImportError as exc:
# Prior to v3.10.0, `MeshXY` could was named `Mesh`.
try:
from iris.experimental.ugrid import Mesh as MeshXY
from iris.experimental.ugrid import Connectivity
from iris.experimental.ugrid import Mesh as MeshXY
except ImportError:
raise exc

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ ignore = [
# https://learn.scientific-python.org/development/guides/style/#PC180
"PC180", # Uses prettier
"PC170",
"PY005",
"GH104",
"GH212",
"RF003",
Expand Down

0 comments on commit 554b817

Please sign in to comment.