Make python code follow conventions in other state data repos