Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and hugovk committed Aug 6, 2022
1 parent 840faac commit 289f8ee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/humanize/number.py
Expand Up @@ -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)
Expand Down

0 comments on commit 289f8ee

Please sign in to comment.