From 289f8eed8b170c8765abb550e525146f912dcc97 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Jul 2022 09:58:37 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/humanize/number.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/humanize/number.py b/src/humanize/number.py index d67d17f..c62a614 100644 --- a/src/humanize/number.py +++ b/src/humanize/number.py @@ -230,9 +230,7 @@ def intword(value: NumberOrString, format: str = "%.1f") -> str: singular, plural = human_powers[ordinal_ - 1] return ( negative_prefix - + " ".join( - [format, _ngettext(singular, plural, math.ceil(chopped))] - ) + + " ".join([format, _ngettext(singular, plural, math.ceil(chopped))]) ) % chopped return negative_prefix + str(value)