scripts: Fix twisterlib for ruff - F811

This fixes ruff linting error F811,
where a module is reimported or otherwise
redefined without being used.

Signed-off-by: Lukasz Mrugala <lukaszx.mrugala@intel.com>
This commit is contained in:
Lukasz Mrugala 2024-11-27 15:21:35 +00:00 committed by Carles Cufí
commit 8353a6c95f
2 changed files with 0 additions and 2 deletions

View file

@ -789,7 +789,6 @@
"./scripts/pylib/twister/twisterlib/harness.py" = [
"E501", # https://docs.astral.sh/ruff/rules/line-too-long
"F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
"F811", # https://docs.astral.sh/ruff/rules/redefined-while-unused
"UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
"UP032", # https://docs.astral.sh/ruff/rules/f-string
]

View file

@ -13,7 +13,6 @@ import sys
import threading
import time
import xml.etree.ElementTree as ET
from asyncio.log import logger
from collections import OrderedDict
from enum import Enum