#23395: Clarification on PEP 8 E501: line too long (> 79 characters)
--------------------------------------+------------------------------------
     Reporter:  nrogers64             |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Documentation         |                  Version:  master
     Severity:  Normal                |               Resolution:
     Keywords:  afraid-to-commit      |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  1                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by carljm):

 Replying to [comment:8 nrogers64]:
 > Also, I'm not sure if Carl is correct or not in this statement that he
 made:
 >
 > > With recent updates to PEP 8 to accommodate longer lines, the stated
 policy is no longer an exception to PEP 8
 >
 > The quote from PEP 8 shown above seems to imply that you can go up to 99
 characters if you want to, but no more than that. Maybe I'm
 misinterpreting that, though.

 You're right; I didn't re-check the PEP and mis-remembered it as allowing
 up to 120, not 100. So allowing up to 120 remains an exception to PEP 8.
 Thanks for the correction.

--
Ticket URL: <https://code.djangoproject.com/ticket/23395#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.8fe5c63c629e2f104949debc51cc2cb9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to