trove/HACKING.rst
jiansong 285adb6c1b For Python 3 Common patterns-six string
Replace basestring with six.string_types and add a hacking rule
to check it. This modification refers to neutron and merge
translation_checks into checks .Follow-up will modify the other
on the python3 common

Change-Id: I66d58ecaf664705660bbeb85058ad3cd092ef82f
reference:https://github.com/openstack/neutron/tree/master/neutron/hacking
2017-11-12 22:37:02 -08:00

339 B

Trove Library Specific Commandments

  • [T101] Validate that LOG messages, except debug ones, are translated
  • [T102] Validate that debug level logs are not translated
  • [T103] Exception messages should be translated
  • [T104] Python 3 is not support basestring,replace basestring with six.string_types