15d8ac5092
The following check is added in this commit: * hacking checks for xrange() Change-Id: If7bd8759445e5ca8cd5f4e74d91dcd02fa267904 Partial-Implements: blueprint mistral-hacking
13 lines
402 B
ReStructuredText
13 lines
402 B
ReStructuredText
Style Commandments
|
|
==================
|
|
|
|
Read the OpenStack Style Commandments http://docs.openstack.org/developer/hacking/
|
|
|
|
Mistral Specific Commandments
|
|
-----------------------------
|
|
|
|
- [M318] Change assertEqual(A, None) or assertEqual(None, A) by optimal assert
|
|
like assertIsNone(A)
|
|
- [M327] Do not use xrange(). xrange() is not compatible with Python 3. Use
|
|
range() or six.moves.range() instead.
|