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:
parent
22a875e490
commit
8353a6c95f
2 changed files with 0 additions and 2 deletions
|
@ -789,7 +789,6 @@
|
||||||
"./scripts/pylib/twister/twisterlib/harness.py" = [
|
"./scripts/pylib/twister/twisterlib/harness.py" = [
|
||||||
"E501", # https://docs.astral.sh/ruff/rules/line-too-long
|
"E501", # https://docs.astral.sh/ruff/rules/line-too-long
|
||||||
"F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
|
"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
|
"UP031", # https://docs.astral.sh/ruff/rules/printf-string-formatting
|
||||||
"UP032", # https://docs.astral.sh/ruff/rules/f-string
|
"UP032", # https://docs.astral.sh/ruff/rules/f-string
|
||||||
]
|
]
|
||||||
|
|
|
@ -13,7 +13,6 @@ import sys
|
||||||
import threading
|
import threading
|
||||||
import time
|
import time
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
from asyncio.log import logger
|
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue