autopep8 Command Examples

Format Python code according to the PEP 8 style guide. More information: https://github.com/hhatto/autopep8.

autopep8 {{path/to/file.py}} --max-line-length {{length}}

autopep8 --diff {{path/to/file}}

autopep8 --in-place {{path/to/file.py}}

autopep8 --in-place --recursive {{path/to/directory}}