CFY-270 flake8 fix