CFY-149 flake8 fix