Re: [tryton-dev] Coding Guidelines

2011-07-28 Thread Nicolas Évrard
* Cédric Krier [2011-07-28 10:25 +0200]: On 13/07/11 19:22 +0200, Cédric Krier wrote: So as a algorithm is worth a thousand words, I have adapted the python.vim indent program to match this rules. You can download it at [3] (to install, just copy it in ~/.vim/indent/python.vim). Now, it seems

Re: [tryton-dev] Coding Guidelines

2011-07-28 Thread Cédric Krier
On 13/07/11 19:22 +0200, Cédric Krier wrote: > So as a algorithm is worth a thousand words, I have adapted the python.vim > indent program to match this rules. > You can download it at [3] (to install, just copy it in > ~/.vim/indent/python.vim). Now, it seems that everybody agree with this rules,

Re: [tryton-dev] Coding Guidelines

2011-07-28 Thread Cédric Krier
On 26/07/11 16:44 +0200, Nicolas Évrard wrote: > * Cédric Krier [2011-07-15 01:43 +0200]: > >On 13/07/11 19:22 +0200, Cédric Krier wrote: > >>So as a algorithm is worth a thousand words, I have adapted the python.vim > >>indent program to match this rules. > >>You can download it at [3] (to instal

Re: [tryton-dev] Coding Guidelines

2011-07-26 Thread Nicolas Évrard
* Cédric Krier [2011-07-15 01:43 +0200]: On 13/07/11 19:22 +0200, Cédric Krier wrote: So as a algorithm is worth a thousand words, I have adapted the python.vim indent program to match this rules. You can download it at [3] (to install, just copy it in ~/.vim/indent/python.vim). [3] http://www.

Re: [tryton-dev] Coding Guidelines

2011-07-14 Thread Cédric Krier
On 13/07/11 19:22 +0200, Cédric Krier wrote: > So as a algorithm is worth a thousand words, I have adapted the python.vim > indent program to match this rules. > You can download it at [3] (to install, just copy it in > ~/.vim/indent/python.vim). > [3] http://www.b2ck.com/~ced/python.vim I have up

Re: [tryton-dev] Coding Guidelines

2011-07-14 Thread Mathias Behrle
* Betr.: " [tryton-dev] Coding Guidelines" (Wed, 13 Jul 2011 19:22:05 +0200): > [3] http://www.b2ck.com/~ced/python.vim Thx! Testing... -- Mathias Behrle MBSolutions Gilgenmatten 10 A D-79114 Freiburg Tel: +49(761)471023 Fax: +49(761)4770816 http://m9s.biz UStI

Re: [tryton-dev] Coding Guidelines

2011-07-13 Thread Cédric Krier
On 13/07/11 23:41 +0200, Raimon Esteve wrote: > > Sometimes we indent with 4 spaces and other times with 4 spaces, I think > > this > > Maybe is because GUI use Tab and not spaces. No (I think almost all the developpers use vim or emacs), I think it is because of not clear spacing/indentation ru

Re: [tryton-dev] Coding Guidelines

2011-07-13 Thread Raimon Esteve
> Sometimes we indent with 4 spaces and other times with 4 spaces, I think this Maybe is because GUI use Tab and not spaces. I worked py files other people/projectes and I find this situation. I get error python indexation. I recomended use 4 spaces, not tab. -- tryton-dev@googlegroups.com mail

Re: [tryton-dev] Coding Guidelines

2011-07-13 Thread Cédric Krier
On 13/07/11 19:22 +0200, Cédric Krier wrote: > Sometimes we indent with 4 spaces and other times with 4 spaces, I think this Typo: Sometimes we indent with 4 spaces and other times with 8 spaces, I think this -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46