hhatto / autopep8

A tool that automatically formats Python code to conform to the PEP 8 style guide.
https://pypi.org/project/autopep8/
MIT License
4.54k stars 291 forks source link

--max-line-length not working. #719

Open drmanhatin opened 7 months ago

drmanhatin commented 7 months ago

Python Code

SOME_API_URL = "https://ASDFASDFASDFASDFASDFASDFASDFASDFASDFASDFASDFASDFASDFASDFASDFASDFASDFASDFDSDSAASDASDASD"

Command Line and Configuration

.pep8, setup.cfg, ...

[pep8]

Command Line

$ autopep8 --max-line-length 120 --in-place --recursive -aaa --experimental  some_file.py```

## Your Environment
* Python version: 3.9.13
* autopep8 version: 2.0.4
* Platform: windows

It does break comments, but not string variables.