On Tue, Nov 14, 2017 at 6:14 PM, Steven D'Aprano <st...@pearwood.info>
wrote:

> > and then, even if you wanted to put it on the previous line, you would't
> > have the line-length issue:
> >
> > # flake8: disable=unused-import mypy: alias=pathlib2.Path coverage:
> > ignore=when>py2.7
>
> And the irony is that this shows exactly why it is still a problem. Code
> gets emailed, and lines get wrapped, breaking the too-long line.
>

that wrapped a 85 char line (probably to 72) -- lots of folks have set
their line length limit to 90+ these days, so I"m not sure we'll evr be
safe...

but whatever -- multiple line pragmas are fine, too -- I'm hoping putting
this much crap in your code will be rare :-)

-CHB

-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

chris.bar...@noaa.gov
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to