Install python-pycodestyle by entering the following commands in the terminal:
sudo apt update sudo apt install python-pycodestyle
Description:
Python style guide checker (formerly called pep8) - Python 2.x
Features a plugin architecture allowing for adding new checks is easily. Parseable output listing line numbers of the error location. Consists of just one Python file, and requires only stdlib. . This package contains the Python 2.x module.
Homepage: https://pypi.python.org/pypi/pycodestyle
Version: 2.3.1-2
Section: universe/python