Skip to content

Commit

Permalink
Fix up linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
MTCam committed Sep 25, 2024
1 parent f297017 commit 3502174
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/mesh_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ def __init__(self, tpe=False):
def get_mesh(self, resolution, mesh_order=4):
if not isinstance(resolution, (list, tuple)):
resolution = (resolution,) * self.ambient_dim
from meshmode.mesh import TensorProductElementGroup
group_cls = TensorProductElementGroup if self._tpe else None
from meshmode.mesh import TensorProductElementGroup
group_cls = TensorProductElementGroup if self._tpe else None
return mgen.generate_regular_rect_mesh(
a=self.a, b=self.b,
nelements_per_axis=resolution,
Expand Down
2 changes: 1 addition & 1 deletion test/test_grudge.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def _spheroid_surface_area(radius, aspect_ratio):
])
@pytest.mark.parametrize("oi", [False, True])
def test_mass_surface_area(actx_factory, name, oi):
from grudge.dof_desc import as_dofdesc, DISCR_TAG_BASE, DISCR_TAG_QUAD
from grudge.dof_desc import DISCR_TAG_BASE, DISCR_TAG_QUAD, as_dofdesc
actx = actx_factory()
qtag = DISCR_TAG_QUAD if oi else DISCR_TAG_BASE
vol_dd_base = as_dofdesc(dof_desc.DTAG_VOLUME_ALL)
Expand Down

0 comments on commit 3502174

Please sign in to comment.