Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 774 Bytes

File metadata and controls

18 lines (15 loc) · 774 Bytes

neutron-lib Style Commandments

Neutron Library Specific Commandments

  • [N521] Validate that jsonutils module is used instead of json
  • [N529] Method's default argument shouldn't be mutable
  • [N530] No importing of neutron; should be ignored in neutron itself
  • [N532] Validate that LOG.warning is used instead of LOG.warn. The latter is deprecated.
  • [N534] Exception messages should be translated
  • [N535] Usage of Python eventlet module not allowed
  • [N536] DEPRECATED: Use assertIsNone/assertIsNotNone rather than assertEqual/assertIs to check None values.
  • [N537] Don't translate logs.