The mypy session was manually added to the noxfile, which is auto-generated, thus OwlBot overrides those changes (#544).
Instead, the changes should be injected into noxfile.py through owlbot.py replacements, at least until mypy session is not added by the code generator itself.