black likes long lines
@@ -112,8 +112,7 @@ def read_buffer(file):
def write(filename, mesh):
with open(filename, "wb") as fh:
- version = {numpy.dtype(c_float): 1,
- numpy.dtype(c_double): 2}[mesh.points.dtype]
+ version = {numpy.dtype(c_float): 1, numpy.dtype(c_double): 2}[mesh.points.dtype]
# N. B.: PEP 461 Adding % formatting to bytes and bytearray
fh.write(b"MeshVersionFormatted %d\n" % version)
