make tasks.py pep8 compliant