#21288: pep8 cleanup: continuation line over-indented for hanging indent --------------------------------------+------------------------------------ Reporter: timo | Owner: nobody Type: Cleanup/optimization | Status: new Component: Core (Other) | 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 --------------------------------------+------------------------------------
Comment (by alasdair): This cleanup is a bit less straight forward than the other recent pep8 tickets. The attached patch makes sense to me, when we are changing the indentation of homogeneous list/dictionary items and function arguments. However other E126 errors seem trickier to fix. I've included a patch for django/contrib/contenttypes/generic.py as an example. I'm concerned that I've made the code less readable, because the indentation to distinguish between dictionary keys and values has been removed. Another tricky example is lines 113 & 114 of django.db.models.base.py. It's not clear to me how to re-format the code to remove the error. -- Ticket URL: <https://code.djangoproject.com/ticket/21288#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/062.77be3ba30551dea0289472a6142ee154%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.