PEP 8 fixes

PEP 8 fixes for files under mypy/* directory. Note that mypy/codec/* and mypy/test/* are not included.