zero323 commented on pull request #35123:
URL: https://github.com/apache/spark/pull/35123#issuecomment-1007116373


   > This PR reenables length check in Python linter (E501 in flake8). This was 
mistakenly removed from #34655.
   
   Actually, I disabled E501 in https://github.com/apache/spark/pull/34297, 
mostly following [line length 
notes](https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html?highlight=E501#line-length)
 from the black documentation. Specifically
   
   > However, sometimes it won’t be able to without breaking other rules. In 
those rare cases, auto-formatted code will exceed your allotted limit.
   
   In other cases `line-length` in black config should be respected and kind of 
duplicate what we have in style config.
   
   That being said, LGTM.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to