[Twisted-Python] coding standard: column width?
Steve Waterbury
golux at comcast.net
Tue Mar 4 23:44:53 EST 2003
On Tue, 2003-03-04 at 23:33, Samuel Bronson wrote:
> Clark C. Evans wrote:
>
> >The (very clear) coding standards don't mention a preferred column width.
> >Could it be possible to add a 76 column code wrap requirement. This is
> >useful for those of us who use your aged 80 column terminals, and more
> >
> Or code at the console, or prefer 80 column emacs windows ;-)
Right. The Twisted coding standards are clear ... but they
shouldn't have to say everything: in the absence of explicit
direction from the Twisted coding standard, the Python style
guidelines should be followed (PEP 8 and PEP 257).
>From PEP 8 (http://www.python.org/peps/pep-0008.html):
There are still many devices around that are limited to 80
character lines; plus, limiting windows to 80 characters makes it
possible to have several windows side-by-side. The default
wrapping on such devices looks ugly. Therefore, please limit all
lines to a maximum of 79 characters (Emacs wraps lines that are
exactly 80 characters long). For flowing long blocks of text
(docstrings or comments), limiting the length to 72 characters is
recommended.
Etc.
- Steve.
More information about the Twisted-Python
mailing list