Skip to content

Commit 9090645

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

maths/division.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,7 @@ def divide_numbers(a: int | float, b: int | float) -> float:
3636
ValueError: Cannot divide by zero. Please provide a non-zero denominator.
3737
"""
3838
if b == 0:
39-
raise ValueError("Cannot divide by zero. Please provide a non-zero denominator.")
39+
raise ValueError(
40+
"Cannot divide by zero. Please provide a non-zero denominator."
41+
)
4042
return a / b

0 commit comments

Comments
 (0)