How can I setup Formatter to Reformat this correctly?
I have a following code, which has 81 characters in if line.
Also, my project is configured for 80 line hard break.
if y1y2.shape[0] == remaining_count and x1x2.shape[0] == remaining_count:
break
When I reformat this code, it changes like this:
if y1y2.shape[0] == remaining_count and x1x2.shape[
0] == remaining_count:
break
However, pylint thinks it as under-indent and tells me to add 4 more blanks at 2nd line.
What option can I change to conform to the pylint's rules, so the final code would look like this?
if y1y2.shape[0] == remaining_count and x1x2.shape[
0] == remaining_count:
break
Please sign in to leave a comment.
I could reproduce the issue only when I set hard wrap at 60. 80 Didn't do it for me.
Anyway, created a bug report: https://youtrack.jetbrains.com/issue/PY-36433
Please vote, follow, and feel free to leave comments.
If you have anything to add regarding this issue, please continue conversation in the aforementioned YouTrack ticket.