Forrest logo
back to context overview

autopep8

List of commands for autopep8:

  • autopep8:tldr:59168 autopep8: Recursively format all files in a directory in-place and save changes.
    $ autopep8 --in-place --recursive ${path-to-directory}
    try on your machine
    explain this command
  • autopep8:tldr:65953 autopep8: Format a file in-place and save the changes.
    $ autopep8 --in-place ${filename-py}
    try on your machine
    explain this command
  • autopep8:tldr:d803e autopep8: Format a file to `stdout`, with a custom maximum line length.
    $ autopep8 ${filename-py} --max-line-length ${length}
    try on your machine
    explain this command
  • autopep8:tldr:e63be autopep8: Format a file, displaying a diff of the changes.
    $ autopep8 --diff ${filename}
    try on your machine
    explain this command
back to context overview