Fix invoke tasks file.
Flake8 cleanup.