openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #04157
Style: dictionaries
Hi all,
I bring to your attention Sandy's review here:
https://code.launchpad.net/~camptocamp/stock-logistic-flows/6.1-add-mrp_open_lot_attributes-lep/+merge/196749
according to pep8, two styles of indentation are possible. Take for example
a dictionary:
{'name': 'spam',
'color': 'brown'
}
or
{
'name': 'eggs',
'color': 'white'
}
According to the pep8 document and to the pep8 checker, they both work. I
personally would accept both.
What do you think?
Best, Leo
Follow ups