diff --git a/src/tophu/_io.py b/src/tophu/_io.py index 8c69567..cc92410 100644 --- a/src/tophu/_io.py +++ b/src/tophu/_io.py @@ -310,7 +310,8 @@ def __init__( ) chunks = dataset.chunks else: - errmsg = textwrap.dedent(""" + errmsg = textwrap.dedent( + """ the supplied arguments don't match any valid overload of HDF5Dataset The arguments must match one of the following supported overloads: @@ -324,7 +325,8 @@ def __init__( dtype: numpy.typing.DTypeLike, **kwargs, ) - """).strip() + """ + ).strip() raise TypeError(errmsg) # Workaround for `frozen=True`. @@ -534,7 +536,8 @@ def __init__( mode = "w+" count = 1 else: - errmsg = textwrap.dedent(""" + errmsg = textwrap.dedent( + """ the supplied arguments don't match any valid overload of RasterBand The arguments must match one of the following supported overloads: @@ -557,7 +560,8 @@ def __init__( transform: rasterio.transform.Affine | None = None, **options: dict[str, Any], ) - """).strip() + """ + ).strip() raise TypeError(errmsg) # Create the dataset if it didn't exist.