Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runner.docker: Appease mypy and avoid redefining the type of "limits"
Mypy really doesn't like redefinitions¹, and we start with List[str] but then convert to List[int]. The limited support for redefinition (--allow-redefinition) doesn't apply here because two different code blocks are involved. This particular shift of code into the try block doesn't impact the handling of exceptions. ¹ python/mypy#1174
- Loading branch information