handled mypy newer release errors

Luis Aleixo requested to merge feature/mypy_update into master

Given the newest mypy release - https://mypy-lang.blogspot.com/2022/09/mypy-0981-released.html - the following error was being triggered:

mypy exited with status 1.
1200: error: Incompatible return value type (implicitly returns "None", expected "Tuple[float, float]")

Updated the extract_between_bounds method under models.py file to consider the None return type, whenever a ValueError is raised.

Merge request reports