From b167769e5c803dafe743bd3ca245942c78f5e921 Mon Sep 17 00:00:00 2001 From: Matthew Scroggs Date: Wed, 27 Nov 2024 14:42:44 +0000 Subject: [PATCH] format --- python/ndelement/ciarlet.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/python/ndelement/ciarlet.py b/python/ndelement/ciarlet.py index 7abb9ad..2456d6e 100644 --- a/python/ndelement/ciarlet.py +++ b/python/ndelement/ciarlet.py @@ -254,10 +254,16 @@ def create_family( """Create a new element family.""" rust_type = _rtypes[dtype] if family == Family.Lagrange: - return ElementFamily(family, degree, _lib.create_lagrange_family(degree, continuity.value, rust_type)) + return ElementFamily( + family, degree, _lib.create_lagrange_family(degree, continuity.value, rust_type) + ) elif family == Family.RaviartThomas: - return ElementFamily(family, degree, _lib.create_raviart_thomas_family(degree, continuity.value, rust_type)) + return ElementFamily( + family, degree, _lib.create_raviart_thomas_family(degree, continuity.value, rust_type) + ) elif family == Family.NedelecFirstKind: - return ElementFamily(family, degree, _lib.create_nedelec_family(degree, continuity.value, rust_type)) + return ElementFamily( + family, degree, _lib.create_nedelec_family(degree, continuity.value, rust_type) + ) else: raise ValueError(f"Unsupported family: {family}")