PEP8ify cosmology.core