CFY-783 flake8 fix