neutron-lib/HACKING.rst
Doug Wiegley be3795fd70 Add a hacking check against importing neutron
Partially-Implements: blueprint neutron-lib
Change-Id: I90c563f5b2e7a66bf47930bffbba01100ff0b574
2016-02-08 20:54:20 +00:00

684 B

neutron-lib Style Commandments

Neutron Specific Commandments

  • [N521] Validate that jsonutils module is used instead of json
  • [N523] Enforce namespace-less imports for oslo libraries
  • [N524] Prevent use of deprecated contextlib.nested.
  • [N525] Python 3: Do not use xrange.
  • [N526] Python 3: do not use basestring.
  • [N527] Python 3: do not use dict.iteritems.
  • [N529] Method's default argument shouldn't be mutable
  • [N530] No importing of neutron; should be ignored in neutron itself