Add virtualenv folder pythonenv/ to .gitignore.
Change import ordering to follow PEP8.
Change handling of file objects to use with statements.
Add else clause to try/except block in tasks.py.
Change magic number HTTP status codes to imports from requests.options.
Move github user account email to variable setting in tasks.py.
Make max_age magic number more explicit, long line cleanup.