[Python-ideas] PEP 8 update on line length

Rhodri James rhodri at kynesim.co.uk
Wed Feb 27 08:37:38 EST 2019


On 26/02/2019 02:01, Christopher Barker wrote:
> We could reword:
> 
> """
> Some teams strongly prefer a longer line length. For code maintained
> exclusively or primarily by a team that can reach agreement on this issue,
> it is okay to increase the nominal line length from 80 to 100 characters
> (effectively increasing the maximum length to 99 characters), provided that
> comments and docstrings are still wrapped at 72 characters.
> """
> 
> To be a bit less harsh -- that is, change the clause:
> 
> "For code maintained exclusively or primarily by a team that can reach
> agreement on this issue, it is okay ..."
> 
> To maybe just
> 
> "For code maintained  by a team that can reach agreement on this issue, it
> is okay ..."

I would prefer not.  The wording as given emphasizes that the team isn't 
expecting outsiders to work on their code.  I think that's quite 
important, especially when you consider that PEP8 only really has force 
for the standard library.

-- 
Rhodri James *-* Kynesim Ltd


More information about the Python-ideas mailing list