Fix pep8 on api cube