mrhlpr, mrtest: Add lots of type hints and fix type errors + CI: Run mypy with --disallow-untyped-calls
- Oct 10, 2024
-
frontend.main() only ever returns None, so there's no point in calling sys.exit with its return value as parameter.
This way we're even stricter with missing types. Let's activate it so we don't regress.
This should never happen, so we can simplify the function signature by typing it like this.
frontend.main() only ever returns None, so there's no point in calling sys.exit with its return value as parameter.