CFY-1295 minimize tasks file loading env so that it doesn't pollute the global modules namespace
CFY-1295 flake8