Pep8 for long pattern
Dan Stromberg
drsalists at gmail.com
Tue Mar 27 17:02:05 EDT 2018
On Tue, Mar 27, 2018 at 8:18 AM, Michael Torrie <torriem at gmail.com> wrote:
> But when it's exactly what you need, why do
> you need to shoehorn the expression into 79 characters? Seems pointless
> in a case like this. PEP8 is a guideline, not an absolute rule. It's
> okay to bend it a bit in cases like this.
I think PEP8 specifying a max of 80 columns is very silly.
Even an old VT220 terminal could do 132 columns.
My understanding is that PEP8 requires 80 columns because a tiny,
tiny, tiny minority of Python developers wanted to be able to put 3
editors next to each other horizontally, without wrapping.
I like to check my code with pycodestyle, but I always override that
dang 80 column requirement.
More information about the Python-list
mailing list