Skip to content

Commit 7e5fe03

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3bab16d commit 7e5fe03

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

maths/abs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
"""Absolute Value."""
2+
23
from __future__ import annotations
34

5+
46
def abs_val(num: float) -> float:
57
"""
68
Find the absolute value of a number.
@@ -35,7 +37,7 @@ def abs_min(x: list[int | float]) -> float:
3537
return j
3638

3739

38-
def abs_max(x: list[int | float]) -> float: # Changed type hint
40+
def abs_max(x: list[int | float]) -> float: # Changed type hint
3941
"""
4042
>>> abs_max([0,5,1,11])
4143
11

0 commit comments

Comments
 (0)