From ceb479944ad6f2c08f8dede780bc1b0853fb7ba4 Mon Sep 17 00:00:00 2001 From: Bin Qian Date: Mon, 16 Oct 2023 21:40:37 +0000 Subject: [PATCH] update tox ignore list to skip H904 The check for H904 is default off and it should be remain off to be consistant with other starlingx components. Closes-Bug: 2039717 Change-Id: I69c88440d4dd5e4839c2bebb01ea5219a1a13ba0 Signed-off-by: Bin Qian --- software/tox.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/software/tox.ini b/software/tox.ini index 9f9a6e73..15e67227 100644 --- a/software/tox.ini +++ b/software/tox.ini @@ -58,8 +58,7 @@ commands = [flake8] # H106: Don't put vim configuration in source files (off by default). # H203: Use assertIs(Not)None to check for None (off by default). -# H904 Delay string interpolations at logging calls (off by default) -enable-extensions = H106 H203,H904 +enable-extensions = H106,H203 exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,release-tag-* max-line-length = 80 show-source = True