On Thu, 2008-11-20 at 10:45 +0100, Florent Aide wrote:
> 
> On Thu, Nov 20, 2008 at 9:50 AM, Iain Duncan <[EMAIL PROTECTED]> wrote:
> 
> > I noticed that previously, lines have been broken to meet PEP standards.
> > I propose that we do *not* break lines at 80 chars in Genshi templates
> > because:
> >
> > - the file is IMHO first and foremost an XML doc and not python code
> yep
> 
> > - in an XML doc, lines should preserve XML structure over PEP
> as long as it is valid xml, your xml editor should be able to handle it...
> 
> > - it's enormously more convenient to the designers and front end coders
> > to have xml structure visible at a glance even if lines are long whereas
> > broken up lines are kindof a pain unless they are reaaaallly long
> 
> We need to get a balance here... Going over 80 is ok, because as you
> said we don't have to follow pep8 for XML documents. But having line >
> 100/150 chars is also a pain...

That's what I'm thinking too. Thanks for the feedback.

Iain



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to turbogears-trunk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to