All pep errors are fixed - should have changed PR title.

Despite the name, this PR fixes the pep errors in all files with the exception of migrations.