Follow PEP 8 -- Style Guide for Python Code
|Reported by:||sorl||Owned by:||nobody|
|Cc:||mikko@…, eallik@…, pbagwl@…||Triage Stage:||Unreviewed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
There is currently a lot of Django code that violates the PEP 8 style guide with respect to "Maximum Line Length - Limit all lines to a maximum of 79 characters.". I don't think this is a problem for "old" code and there is no need to go fix it unless you have got nothing better to do. How ever for recent commits there is no valid reason not to follow this recommendation from my standpoint. It is almost as if this has grown into an own django-long-lines cult, people will look at Django code and copy these bad long-lines examples. In particular I was looking at the Class Based Generic views which is a recent commit and it contains quite a few lines longer than 79 characters.