murano/HACKING.rst
Hangdong Zhang 4ecefa3a0b Update the documentation link for doc migration
Change-Id: I6a127e1194702cf2a158e1bbe6eb6ce6cadac386
2017-07-31 16:54:11 +08:00

518 B

Style Commandments

Read the OpenStack Style Commandments https://docs.openstack.org/hacking/latest/

Murano Specific Commandments ---------------------------

  • [M318] Change assertEqual(A, None) or assertEqual(None, A) by optimal assert like assertIsNone(A)
  • [M322] Method's default argument shouldn't be mutable.
  • [M323] Python 3: do not use dict.iteritems.
  • [M324] Python 3: do not use dict.iterkeys.
  • [M325] Python 3: do not use dict.itervalues.
  • [M326] Python 3: do not use basestring.