[all][tc] Lets talk about Flake8 E501

Dmitry Tantsur dtantsur at redhat.com
Mon May 30 14:43:01 UTC 2022


On Sat, May 28, 2022 at 2:29 PM Jeremy Stanley <fungi at yuggoth.org> wrote:

> On 2022-05-27 21:24:32 -0500 (-0500), Miro Tomaska wrote:
> > This is probably going to be a hot topic but I was wondering if
> > the community ever considered raising the default 79 characters
> > line limit.
> [...]
>
> This is a choice individual projects can make; the TC hasn't
> demanded all projects follow a specific coding style.
>
> That said, I personally do all my coding and code review in
> 80-column text terminals, so any lines longer that that end up
> wrapping and making indentation harder to follow.


Similarly, I usually split my vim in 2 halves, around 90 characters fit
into each half.

Dmitry


> There have been
> numerous studies to suggest that shorter lines are easier for people
> to read and comprehend, whether it's prose or source code, and the
> ideal lengths actually end up being around 50-75 characters. There's
> a reason wide-format print media almost always breaks text into
> multiple columns: The eyes tend to get lost as you scan across
> longer lines of content. (As an aside, you'll probably notice I've
> set my MUA to wrap all lines at 68 characters.)
>
> Just my opinion, but I do really appreciate when projects keep
> source code files wrapped at 79 columns.
> --
> Jeremy Stanley
>


-- 

Red Hat GmbH <https://www.redhat.com/de/global/dach>, Registered seat:
Werner von Siemens Ring 14, D-85630 Grasbrunn, Germany
Commercial register: Amtsgericht Muenchen/Munich, HRB 153243,Managing
Directors: Ryan Barnhart, Charles Cachera, Michael O'Neill, Amy Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20220530/a832e95b/attachment.htm>


More information about the openstack-discuss mailing list