Add a hacking rule for the setDaemon method
Add the following hacking rule.
* N372: Don't use the setDaemon method.
Use the daemon attribute instead.
Change-Id: Idb45421205f76d2d3b0576bd0504d261ed249edd
Related-Bug: 1987191
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
This commit is contained in:
@@ -76,6 +76,7 @@ Nova Specific Commandments
|
||||
with eventlet patched code. Use nova.utils.ReaderWriterLock() instead.
|
||||
- [N370] Don't use or import six
|
||||
- [N371] You must explicitly import python's mock: ``from unittest import mock``
|
||||
- [N372] Don't use the setDaemon method. Use the daemon attribute instead.
|
||||
|
||||
Creating Unit Tests
|
||||
-------------------
|
||||
|
||||
Reference in New Issue
Block a user