flake8 compatibility in python_programs