Fix pep8 violations in base/run.py