fixes using matt's find script
manually fixed remaining flake8 errors in pypi_redirect