Re: Style Guide

Johannes Raggam <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
Currently, I'm also -1 on raising the column length limit. For me, Gil's
argument weights a lot - I want to be able to make a two column diff and
see the whole width of both source code documents.

I have no problem with ``# noqa`` and started to use it regulary
especially for lengthy imports like the following to not break the
visual flow::

``from plone.app.contenttypes.testing import
PLONE_APP_CONTENTTYPES_INTEGRATION_TESTING``

I can remember discussions and random opinions on the 80 column limit,
but I don't remember a discussion which led to a decision on that topic,
though.


On Fri, 2015-04-24 at 15:19 +0200, Roel Bruggink wrote:
> In light of Raymond Hettinger' talk "Beyond pep8", I'd like to
> increase the maximum line length to 90-ish. Any objections?
> 
> 
> Please watch https://www.youtube.com/watch?v=wf-BqAjZb8M :) He is way
> better in explaining than I will ever be :)
> 
> 
> 
> 
> -Roel
> 
> On 24 April 2015 at 15:06, Jens W. Klein <jens-/[email protected]>
> wrote:
>         Hi!
>         
>         On 2015-04-24 12:32, Christian Ledermann wrote:
>         > Hi,
>         >
>         > I was looking for the code styleguide and only found:
>         >
>         > http://docs.plone.org/develop/plone-coredev/style.html
>         >
>         > I thought there was a quite extensive styleguide somewhere
>         > with additional information for zpt, zcml, html JS etc ?
>         >
>         > Can you point me in the right direction?
>         
>         
>         Indeed it looks like also this part of the documentation needs
>         some edit.
>         
>         We follow the plone.api conventions, which are documented
>         here:
>         
>         http://ploneapi.readthedocs.org/en/latest/contribute/conventions.html
>         
>         A great helper to check against for plone.api style is
>         
>         plone.recipe.codeananlysis
>         https://pypi.python.org/pypi/plone.recipe.codeanalysis
>         
>         hth Jens
>         --
>         Klein & Partner KG, member of BlueDynamics Alliance
>         
>         
>         ------------------------------------------------------------------------------
>         One dashboard for servers and applications across
>         Physical-Virtual-Cloud
>         Widest out-of-the-box monitoring support with 50+ applications
>         Performance metrics, stats and reports that give you
>         Actionable Insights
>         Deep dive visibility with transaction tracing using APM
>         Insight.
>         http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>         _______________________________________________
>         Plone-developers mailing list
>         Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>         https://lists.sourceforge.net/lists/listinfo/plone-developers
> 
> 
> 
> 
> -- 
> Roel Bruggink
> 
> https://www.fourdigits.nl/over-ons#roel-bruggink
> 
> Four Digits BV
> https://www.fourdigits.nl tel: +31 26 4422700
> 
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud 
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________ Plone-developers mailing list Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/plone-developers

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
signature.asc (application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEABECAAYFAlU7R78ACgkQW4mNMQxDgAeb8gCgmoM1vJCqX5rYoMCNnH+uTqiO
Ga8AnRZFX132qOFZaONNKASqQlk0KeuA
=+Sjb
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.