This is an attempt at salvaging mypy annotations that already exist in the standalone looper's code.
This doesn't make the updated looper code mypy-error-free yet (there are 166 errors even with tests and migrations excluded from the checks), but it makes it easier to salvage more code from the standalone looper later (and it's easier than actually fixing all of the existing mypy errors =/ )
(The tests are passing and payment flows/My Account don't appear to be affected by this patch)