nova/nova/hacking
Takashi NATSUME bb24320ba2 Amend uuid4 hacking rule
Starting from oslo.utils 3.20.0,
oslo_utils.uuidutils.generate_uuid can return
"uuid.uuid4().hex" string.

So the following rule has been amended
to use "oslo_utils.uuidutils.generate_uuid(dashed=False)"
instead of "uuid.uuid4().hex".

* N357: Use oslo_utils.uuidutils or uuidsentinel
        (in case of test cases) to generate UUID
        instead of uuid4().

Change-Id: I990cbfcefb33cc52d70e9be80c780593c536397a
2017-09-04 17:34:46 +00:00
..
__init__.py Switch to flake8+hacking. 2013-05-17 12:54:12 -07:00
checks.py Amend uuid4 hacking rule 2017-09-04 17:34:46 +00:00