Re: [tryton-dev] 80 cols on XML file

2017-12-20 Thread Bernat Brunet
2017-12-20 15:55 GMT+01:00 Cédric Krier :

> Hi,
>
> I think we should remove the 80 cols limit on XML file.
> The rational is that XML file are indented by 4 spaces with at least 2
> indentation ( and ) but also XML is quite verbose.
> So we reach the limit very quickly and so we add line break which makes
> the XML more difficult to read. Also most of the time 'pyson' attribute
> already exceed the limit and it can not be break in multiple line.
>
> I think we should be more flexible. For example the  line with
> 'model' and 'id' is more readable when not split. But  is more
> readable if each attribute is on his own line.
>
> So I think the style should be one line with all attributes or one
> attribute per line, but not allow mixed.
>

+1

For me will be better if it's one attribute per line. Because sometimes
when working with the laptop all in one line wont be good.


> --
> Cédric Krier - B2CK SPRL
> Email/Jabber: cedric.kr...@b2ck.com
> Tel: +32 472 54 46 59
> Website: http://www.b2ck.com/
>
> --
> You received this message because you are subscribed to the Google Groups
> "tryton-dev" group.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tryton-dev/20171220145518.GU8635%40kei.
>



-- 

Bernat Brunethttp://www.NaN-tic.com 
Telf: (+34) 935 531 803
http://twitter.com/nan_tichttp://www.nan-tic.com/blog

---
Advertència Legal: aquest missatge i, en el seu cas, els fitxers
adjunts poden contenir informació privada
i/o confidencial. Si vostè no és el destinatari del missatge, si us
plau, elimini i notifiqui'ns-ho
immediatament, no el reenvii ni copi el seu contingut. Si us plau,
avisi'ns d'immediat si vostè o la seva
empresa no admeten la utilització del correu electrònic via internet
per a missatges d'aquest tipus.
NaN Projectes de Programari Lliure, S.L. no garanteix la
confidencialitat, integritat, rapidesa o correcte
recepció del present correu, ni es responsabilitza de possibles
perjudicis derivats de la captura,
incorporacions de virus o qualsevol altre manipulació efectuada per
tercers. No s'autoritza la utilització
amb finalitats comercials o per a la seva incorporació a fitxers
automatitzats de les direccions de
l'emissor o del destinatari.
La informació continguda en aquest missatge de correu electrònic és
confidencial i pot revestir el caràcter
de reservada. Està dirigida exclusivament a la persona destinatària.
L'accés o qualsevol us per part de
qualsevol altra persona, no estan autoritzats i poden esdevenir
il·legals. Si vostè no és la persona
destinatària, li preguem que procedeixi a esborrar-lo i a no fer-ne
cap us ni transmetre'l a tercers.
Si ho considera oportú pot avisar al remitent que el missatge ha
arribat a un destí no desitjat.
Advertencia Legal: este mensaje y, en su caso, los ficheros anexos
pueden contener información privilegiada
y/o confidencial. Si usted no es el destinatario del mensaje, por
favor, bórrelo y notifíquenoslo
inmediatamente, no lo reenvíe ni copie su contenido. Por favor,
avísenos de inmediato si usted o su empresa
no admite la utilización del correo electrónico vía internet para
mensajes de este tipo. Nan Projectes de
Programari Lliure, S.L. no garantiza la confidencialidad, integridad,
rapidez o correcta recepción del
presente correo, ni se responsabiliza de posibles perjuicios derivados
de la captura, incorporaciones de
virus o cualesquiera otras manipulaciones efectuadas por terceros. No
se autoriza la utilización con fines
comerciales o para su incorporación a ficheros automatizados de las
direcciones del emisor o del
destinatario.
La información contenida en este mensaje de correo electrónico es
confidencial y puede revestir el carácter
de reservada. Está dirigida exclusivamente a la persona destinataria.
El acceso o cualquier uso por parte
de cualquier otra persona, no están autorizados y pueden llegar a ser
ilegales. Si usted no es la persona
destinataria, le rogamos que proceda a borrarlo y no hacer ningún uso
de él ni transmitirlo a terceros.
Si lo considera oportuno puede avisar al remitente que el mensaje ha
llegado a un destino no deseado.

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/CACu4VwYY%3D5maUKufTrhe2LUFb4D4uoJdz1rSrs-u%2Bh5qLDM3wg%40mail.gmail.com.


[tryton-dev] 80 cols on XML file

2017-12-20 Thread Cédric Krier
Hi,

I think we should remove the 80 cols limit on XML file.
The rational is that XML file are indented by 4 spaces with at least 2
indentation ( and ) but also XML is quite verbose.
So we reach the limit very quickly and so we add line break which makes
the XML more difficult to read. Also most of the time 'pyson' attribute
already exceed the limit and it can not be break in multiple line.

I think we should be more flexible. For example the  line with
'model' and 'id' is more readable when not split. But  is more
readable if each attribute is on his own line.

So I think the style should be one line with all attributes or one
attribute per line, but not allow mixed.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/20171220145518.GU8635%40kei.