Fix PEP8 issues in migrations.

(except for E501, long lines staying long lines)

Change-Id: I8283942d2149f6e98ae88ba8004e248139e2f8b4