Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The method for directing autopep8 to eliminate line breaks is to use the "--max-line-length" argument followed by a number that represents the maximum length of a line. For example, if you want the maximum line length to be 80 characters, you would enter the command "autopep8 --max-line-length 80 myfile.py". This will cause autopep8 to automatically remove line breaks and wrap lines at the specified maximum length.