formatting the commit.py