CFY-872 flake8 fix