From 812ae42274ae9211adf680111ba90bbe18d4a459 Mon Sep 17 00:00:00 2001 From: Akshay B Shetty Date: Tue, 10 Oct 2023 06:06:37 +0000 Subject: [PATCH] fix: :adhesive_bandage: added return type for check_validity function --- physics/boyles_law.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/physics/boyles_law.py b/physics/boyles_law.py index f3957fd6f..868da6df2 100644 --- a/physics/boyles_law.py +++ b/physics/boyles_law.py @@ -42,10 +42,10 @@ Sources : valid_variables: list[str] = ["v1", "v2", "p1", "p2"] -def check_validity(values: dict[str, float]): +def check_validity(values: dict[str, float]) -> None: """ - Function takes dictionary as an input and returns True if the input + Function takes dictionary as an input and returns nothing if the input is valid >>> check_validity({})