Skip to content

Commit 7660214

Browse files
committed
lint
1 parent e430d47 commit 7660214

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

firedrake/interpolation.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from numbers import Number
1010

1111
from ufl.algorithms import extract_arguments, replace
12-
from ufl.domain import extract_unique_domain, as_domain
12+
from ufl.domain import extract_unique_domain
1313
from ufl.classes import Expr
1414
from ufl.duals import is_dual
1515
from ufl.constantvalue import zero, as_ufl
@@ -224,7 +224,7 @@ def __init__(self, expr: Interpolate):
224224
self.access = expr.options.access
225225

226226
@abc.abstractmethod
227-
def _build_callable(self, tensor: Function | Cofunction | MatrixBase | None = None,
227+
def _build_callable(self, tensor: Function | Cofunction | MatrixBase | None = None,
228228
bcs: Iterable[DirichletBC] | None = None) -> None:
229229
"""Builds callable to perform interpolation. Stored in ``self.callable``.
230230
@@ -980,11 +980,11 @@ def compile_expression(comm, *args, **kwargs):
980980

981981
@singledispatch
982982
def rebuild(element, expr_cell, rt_var_name):
983-
"""Construct a FInAT QuadratureElement for interpolation onto a
983+
"""Construct a FInAT QuadratureElement for interpolation onto a
984984
VertexOnlyMesh. The quadrature point is an UnknownPointSet of shape
985-
(1, tdim) where tdim is the topological dimension of expr_cell. The
986-
weight is [1.0], since the single local dof in the VertexOnlyMesh function
987-
space corresponds to a point evaluation at the vertex.
985+
(1, tdim) where tdim is the topological dimension of expr_cell. The
986+
weight is [1.0], since the single local dof in the VertexOnlyMesh function
987+
space corresponds to a point evaluation at the vertex.
988988
989989
Parameters
990990
----------
@@ -1515,7 +1515,7 @@ def __init__(self, expr: Interpolate):
15151515
super().__init__(expr)
15161516

15171517
def _get_sub_interpolators(self, bcs: Iterable[DirichletBC] | None = None) -> dict[tuple[int, int], tuple[Interpolator, list[DirichletBC]]]:
1518-
"""Gets `Interpolator`s anf boundary conditions for each sub-Interpolate
1518+
"""Gets `Interpolator`s anf boundary conditions for each sub-Interpolate
15191519
in the mixed expression.
15201520
15211521
Returns

0 commit comments

Comments
 (0)