tag:blogger.com,1999:blog-4717269872457503530.post3480874624579167632..comments2023-11-20T02:38:38.279-05:00Comments on Raspberry Pi Python Adventures: significant pep257 changeFrancois Dionhttp://www.blogger.com/profile/10442105466634552900noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-4717269872457503530.post-71772299350426290142015-01-07T12:01:35.764-05:002015-01-07T12:01:35.764-05:00I get it, but it is surprising to change the yards...I get it, but it is surprising to change the yardstick... It's always possible to silence a specific warning, and the stdlib is not exactly conforming to pep257 and pep8 in general.<br /><br />But, hey, what is done is done. I've submitted a PR:<br />https://github.com/GreenSteam/pep257/pull/91<br /><br />In the meantime, it's possible to ignore D203 (the blank line before) by calling pep257 with --ignore=D203Francois Dionhttps://www.blogger.com/profile/10442105466634552900noreply@blogger.comtag:blogger.com,1999:blog-4717269872457503530.post-60742590679442036432015-01-07T00:18:05.690-05:002015-01-07T00:18:05.690-05:00+1
I'm doing most of my python development on...+1<br /><br />I'm doing most of my python development on a 13" laptop, so I also think no extra spaces are neededfruchhttps://www.blogger.com/profile/07284837376276198849noreply@blogger.comtag:blogger.com,1999:blog-4717269872457503530.post-40258166820012908732015-01-06T22:35:18.075-05:002015-01-06T22:35:18.075-05:00That section of the PEP didn't match common pr...That section of the PEP didn't match common practice. E.g. check out what the stdlib uses; I believe you'll find nearly all classes don't have a blank line before the class docstring.Guido van Rossumhttps://www.blogger.com/profile/12821714508588242516noreply@blogger.com