From 39d2e927279bb58959b3fc100159f8f67dbfbac8 Mon Sep 17 00:00:00 2001 From: Pablo Brubeck Date: Fri, 17 Jan 2025 12:02:29 +0000 Subject: [PATCH] ruff --- ufl/sobolevspace.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ufl/sobolevspace.py b/ufl/sobolevspace.py index 6dfa83633..d15acda78 100644 --- a/ufl/sobolevspace.py +++ b/ufl/sobolevspace.py @@ -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)