2017-01-15 16:01:00 +05:30
|
|
|
Style Commandments
|
|
|
|
==================
|
|
|
|
|
2017-04-17 19:09:53 +08:00
|
|
|
Read the OpenStack Style Commandments https://docs.openstack.org/developer/hacking/
|
2017-01-15 16:01:00 +05:30
|
|
|
|
|
|
|
Mistral Specific Commandments
|
|
|
|
-----------------------------
|
|
|
|
|
|
|
|
- [M318] Change assertEqual(A, None) or assertEqual(None, A) by optimal assert
|
|
|
|
like assertIsNone(A)
|
2017-02-02 17:54:40 +05:30
|
|
|
- [M327] Do not use xrange(). xrange() is not compatible with Python 3. Use
|
|
|
|
range() or six.moves.range() instead.
|
2017-02-17 17:03:27 +05:30
|
|
|
- [M328] Python 3: do not use dict.iteritems.
|
|
|
|
- [M329] Python 3: do not use dict.iterkeys.
|
|
|
|
- [M330] Python 3: do not use dict.itervalues.
|