New issue
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
Black fails for some long lines. #1710
Comments
In case someone runs into this issue as well, I fenced it with |
Similar situation, input is only one (very long) line of code. x = "%s %s %s %s %s %s %s %s %s" % (a_very_long,b_very_long,c_very_long,d_very_long,e_very_long,f_very_long,g_very_long,h_very_long,i_very_long)
Also occurs on master |
Hello! All reproduction cases in this issue format without error on master. The fixing commit was 8672af3 from PR GH-2126. I'll be marking this issue as a duplicate of GH-1629 since that's what GH-2126 aimed to fix and it's highly likely this issue falls under GH-1629. Since we use the issue tracker as a reflection of what's on master, I'll be closing this issue. If you have any issues, especially with the new (but stable) output, please open a new issue. Thank you for reporting! |
Describe the bug
For some very long lines,
black
bails out with the error:To Reproduce Steps to reproduce the behavior:
black -l 80 foo.py
Expected behavior
No error should appear
Environment (please complete the following information):
Does this bug also happen on master? yes
Additional context
The following file works:
Log File
/tmp/blk_e7p5_wy5.log
The text was updated successfully, but these errors were encountered: