Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrubeck committed Jan 17, 2025
1 parent 49717f8 commit 39d2e92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ufl/sobolevspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ def __init__(self, orders):
the position denotes in what spatial variable the
smoothness requirement is enforced.
"""
assert all(
isinstance(x, int) or isinf(x) for x in orders
), "Order must be an integer or infinity."
assert all(isinstance(x, int) or isinf(x) for x in orders), (
"Order must be an integer or infinity."
)
name = "DirectionalH"
parents = [L2]
super(DirectionalSobolevSpace, self).__init__(name, parents)
Expand Down

0 comments on commit 39d2e92

Please sign in to comment.