From 628e1c152cc7c5e89d5261fc6f25ec72ac24c1df Mon Sep 17 00:00:00 2001 From: Takashi Natsume Date: Fri, 26 Aug 2022 00:53:00 +0900 Subject: 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 --- tox.ini | 1 + 1 file changed, 1 insertion(+) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index edb08599e7..082f3f4c74 100644 --- a/tox.ini +++ b/tox.ini @@ -351,6 +351,7 @@ extension = N369 = checks:check_lockutils_rwlocks N370 = checks:check_six N371 = checks:import_stock_mock + N372 = checks:check_set_daemon paths = ./nova/hacking -- cgit v1.2.1