Fix some annotations, arguments, and docstring formatting

This commit is contained in:
Julian Stirling 2025-10-16 10:42:48 +01:00
parent 19b2afe7d7
commit 8a0836f368
2 changed files with 30 additions and 26 deletions

View file

@ -329,7 +329,7 @@ def _get_version_from_toml(toml_path: str) -> str:
return "Undefined"
def quadratic(x: float, a: float, b: float, c: float):
def quadratic(x: float, a: float, b: float, c: float) -> float:
"""Quadratic function. Used for predicting z.
:param x: The points at which to evaluate the quadratic.