We used autopep8 to format the code. The code now follows the PEP8 standard.