Skip to content

Commit

Permalink
Pylint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timweiland committed Jun 23, 2023
1 parent 129c171 commit c56c921
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
def _(self, k: _pn_covfuncs.Matern, /, *, argnum: int = 0):
if k.input_shape != ():
return ValueError(
"`Derivative` operator can only be applied to kernels with input shape `()`."
"`Derivative` operator can only be applied to kernels with "
"input shape `()`."
)
if self.order == 0:
return k
Expand All @@ -56,7 +57,8 @@ def _(self, k: HalfIntegerMatern_Identity_DirectionalDerivative, /, *, argnum: i
assert k.matern.p is not None
if k.input_shape != ():
return ValueError(
"`Derivative` operator can only be applied to kernels with input shape `()`."
"`Derivative` operator can only be applied to kernels with "
"input shape `()`."
)
if self.order == 0:
return k
Expand Down

0 comments on commit c56c921

Please sign in to comment.