murano/HACKING.rst
Namrata 71249f19f6 Add hacking rule for using assertIsNone instead of assertEqual(None,***)
Change-Id: I03d3a45769a1a7a125d9bb1de94d22f9004d8d41
Partial-Bug: #1608173
2016-09-27 02:35:50 +00:00

520 B

Style Commandments

Read the OpenStack Style Commandments http://docs.openstack.org/developer/hacking/

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.