CFY-1159 flake8 fix