From 204dc15b7eef9f01bb7f8927e447c1fa1b22581f Mon Sep 17 00:00:00 2001 From: Gautham Date: Wed, 19 Jun 2024 13:45:25 +0530 Subject: [PATCH 1/2] 1 --- financial/present_value.py | 1 + 1 file changed, 1 insertion(+) diff --git a/financial/present_value.py b/financial/present_value.py index f74612b923af..19f83cbeccb7 100644 --- a/financial/present_value.py +++ b/financial/present_value.py @@ -8,6 +8,7 @@ Note: This algorithm assumes that cash flows are paid at the end of the specified year """ +#adding a comment def present_value(discount_rate: float, cash_flows: list[float]) -> float: """ From ec3690095c43b743e26f2996a2f894a650af3b95 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 19 Jun 2024 08:18:57 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- financial/present_value.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/financial/present_value.py b/financial/present_value.py index 19f83cbeccb7..d4700401df35 100644 --- a/financial/present_value.py +++ b/financial/present_value.py @@ -8,7 +8,8 @@ Note: This algorithm assumes that cash flows are paid at the end of the specified year """ -#adding a comment +# adding a comment + def present_value(discount_rate: float, cash_flows: list[float]) -> float: """