CFY-1231 flake8 fix