-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

autopep8


> Format Python code according to the PEP 8 style guide.

More information.


Format a file to stdout, with a custom maximum line length:

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

Format a file, displaying a diff of the changes:

autopep8 --diff {path/to/file}

Format a file in-pace and save the changes:

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

Recursively format all files in a directory in-place and save changes:

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


> Copyright © 2014—present the tldr-pages team and contributors.

> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY



-- Response ended

-- Page fetched on Tue May 21 04:17:37 2024