From 7a5401d3e89b434260ba185efcfbc01e3d098dcc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 11 Jul 2023 03:53:53 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/dolphin/masking.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/dolphin/masking.py b/src/dolphin/masking.py index c5e9f7e8..2435ee69 100644 --- a/src/dolphin/masking.py +++ b/src/dolphin/masking.py @@ -109,10 +109,8 @@ def combine_mask_files( input_conventions = [MaskConvention.NUMPY] * len(mask_files) elif len(input_conventions) != len(mask_files): raise ValueError( - ( - f"input_conventions ({len(input_conventions)}) must have the same" - f" length as mask_files ({len(mask_files)})" - ), + f"input_conventions ({len(input_conventions)}) must have the same" + f" length as mask_files ({len(mask_files)})", ) # Uses the numpy convention (1 = invalid, 0 = valid) for combining logic