Skip to content

Commit 9245532

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 05f6c0f commit 9245532

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/humanize/number.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727

2828

2929
def format_non_finite(value: float) -> str:
30-
"""Utility function to handle infinite and nan cases.
31-
"""
30+
"""Utility function to handle infinite and nan cases."""
3231
if math.isnan(value):
3332
return "NaN"
3433
if math.isinf(value) and value < 0:

0 commit comments

Comments
 (0)