[webkit-dev] Formatting style for inline comments in Python code

Alexey Proskuryakov ap at webkit.org
Thu Oct 26 12:47:23 PDT 2017



> 26 окт. 2017 г., в 10:21, Maciej Stachowiak <mjs at apple.com> написал(а):
> 
> I'm very used to WebKit style for C++, and I agree that we should use PEP8 style for Python even where it differs from our C++ style.

We have one PEP8 check that is currently disabled, the one for 79 character line length limit. Would you be in favor of changing that, and enforcing the line length limit? FWIW, I think that the last time this was discussed was in 2010, <https://bugs.webkit.org/show_bug.cgi?id=37477>.

The proposal to avoid the two-space comment spacing rule comes from the mindset of making webkitpy less isolated from the rest of WebKit code. I certainly hear a lot about how difficult it is to hack on. Comment spacing is obviously not going to solve this, or even make a noticeable dent, but it does feel like a tiny step in the right direction to me.  I'm very interested in hearing what obstacles folks who contributed did have to overcome.

- Alexey

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20171026/9ad9fe86/attachment.html>


More information about the webkit-dev mailing list