From 0742e3f8490f5acc90693f98d95107f7450f45ec Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:18:49 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/marshmallow/fields.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/marshmallow/fields.py b/src/marshmallow/fields.py index dc476abf2..e02ebb075 100644 --- a/src/marshmallow/fields.py +++ b/src/marshmallow/fields.py @@ -1497,7 +1497,9 @@ def __init__( precision = precision.lower() if precision not in self._unit_to_microseconds_mapping: - units = ", ".join(f'"{each}"' for each in self._unit_to_microseconds_mapping) + units = ", ".join( + f'"{each}"' for each in self._unit_to_microseconds_mapping + ) msg = f"The precision must be one of {units}." raise ValueError(msg)