CFY-731 flake8 fix