Skip to content

Commit 812ae42

Browse files
committed
fix: 🩹 added return type for check_validity function
1 parent 7f689e4 commit 812ae42

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

physics/boyles_law.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242
valid_variables: list[str] = ["v1", "v2", "p1", "p2"]
4343

4444

45-
def check_validity(values: dict[str, float]):
45+
def check_validity(values: dict[str, float]) -> None:
4646
"""
4747
48-
Function takes dictionary as an input and returns True if the input
48+
Function takes dictionary as an input and returns nothing if the input
4949
is valid
5050
5151
>>> check_validity({})

0 commit comments

Comments
 (0)