Install python-autopep8 by entering the following commands in the terminal:
sudo apt update sudo apt install python-autopep8
Description:
tool that automatically formats Python code to conform to PEP 8
autopep8 automatically formats Python code to conform to the PEP 8 style guide. It uses the pep8 utility to determine what parts of the code needs to be formatted. autopep8 is capable of fixing most of the formatting issues that can be reported by pep8.
Homepage: https://pypi.python.org/pypi/autopep8/
Version: 1.3.4-1
Section: universe/python