pep8/pylint fixes for capa