We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
print(f"{dasdsadasdsadassdsadasdasddasddasd}{dasdsadasdsadasdasddasd}{dasdsadasdsadasdasddasd}")
This lead to
print(f"{dasdsadasdsadassdsadasdasddasddasd}{ dasdsadasdsadasdasddasd}{dasdsadasdsadasdasddasd}")
Better would be
print(f"{dasdsadasdsadassdsadasdasddasddasd}\ {dasdsadasdsadasdasddasd}{dasdsadasdsadasdasddasd}")
or format it as without "f" (like basic string without variables)
.pep8, setup.cfg, ...
.pep8
setup.cfg
[pep8]
VSCode default
Command Line
$ autopep8
The text was updated successfully, but these errors were encountered:
This produces errors like
SyntaxError: unterminated string literal (detected at line 60)
Your example could also be broken into multiple lines like
print(f"{dasdsadasdsadassdsadasdasddasddasd}" f"{dasdsadasdsadasdasddasd}" f"{dasdsadasdsadasdasddasd}")
Sorry, something went wrong.
I have also found this issue. Breaking a formatted string like this also causes issue in the output.
Same issue with python 3.12.3, autopep8==2.3.1
No branches or pull requests
Python Code
This lead to
Better would be
or format it as without "f" (like basic string without variables)
Command Line and Configuration
.pep8
,setup.cfg
, ...[pep8]
VSCode default
Command Line
$ autopep8
VSCode default
Your Environment
The text was updated successfully, but these errors were encountered: