#23395: Clarification on PEP 8 E501: line too long (> 79 characters) -------------------------------+------------------------------------ Reporter: nrogers64 | Owner: nobody Type: Uncategorized | Status: new Component: Documentation | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------+------------------------------------ Changes (by wimfeijen):
* needs_better_patch: => 0 * needs_tests: => 0 * version: 1.6 => master * easy: 0 => 1 * needs_docs: => 0 * stage: Unreviewed => Accepted Comment: Hi nrogers64, I agree with you that this text needs updating. As far as I know, the current guideline is actually to keep lines within 79 characters unless it doesn't fit, in which case it is ok to make longer lines. Clarity goes above following the character limit. Maybe just delete that one sentence and make it: One exception to PEP 8 is our opinion on line length. Don’t limit lines of code to 79 characters if it means the code looks significantly uglier or is harder to read. -- Ticket URL: <https://code.djangoproject.com/ticket/23395#comment:1> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.325dbf6dfda64466c734ba188fbe9b0e%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.