Mypy since version 1.10.0 complains about this: > test_driver/driver.py:109: error: No return value expected [return-value]