Binary package “python-autopep8” in ubuntu xenial

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.