2017-01-15 16:01:00 +05:30
|
|
|
Style Commandments
|
|
|
|
==================
|
|
|
|
|
2017-07-19 17:02:16 +08:00
|
|
|
Read the OpenStack Style Commandments https://docs.openstack.org/hacking/latest/
|
2017-01-15 16:01:00 +05:30
|
|
|
|
|
|
|
Mistral Specific Commandments
|
|
|
|
-----------------------------
|
|
|
|
|
2017-02-08 09:08:54 +05:30
|
|
|
- [M001] Use LOG.warning(). LOG.warn() is deprecated.
|
|
|
|
- [M319] Enforce use of assertTrue/assertFalse
|
|
|
|
- [M320] Enforce use of assertIs/assertIsNot
|
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.
|