CFY-646 flake8 fix