Install vim-autopep8 by entering the following commands in the terminal:
sudo apt update sudo apt install vim-autopep8
Description:
vim plugin to apply autopep8
This package provides vim-autopep8, a Vim plugin that applies autopep8 to your current file. autopep8 automatically formats Python code to conform to the PEP 8 style guide.
Homepage: https://github.com/tell-k/vim-autopep8
Version: 1.0.7-1
Section: universe/editors