A tool that automatically formats Python code to conform to the PEP 8 style guide
autopep8 automatically formats Python code to conform to the PEP 8 style guide. It uses the pycodestyle 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 pycodestyle.
autopep8 automatically formats Python code to conform to the PEP 8 style guide. It uses the pycodestyle 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 pycodestyle.
To install py313-autopep8, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install py313-autopep8
To see what files were installed by py313-autopep8, run:
port contents py313-autopep8
To later upgrade py313-autopep8, run:
sudo port selfupdate && sudo port upgrade py313-autopep8
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.