either "keeping SunPy code consistent" or adding some noun after "consistent", e.g. "keeping SunPy code in a consistent manner", though I'm not sure if "manner" really fits here.