scripts: Fix twisterlib for ruff - E402
This fixes errors E402 - module import not at top of file. One error in testplan.py left in, as it is a part of a obscure 2020 fix that would need to be re-tested. Signed-off-by: Lukasz Mrugala <lukaszx.mrugala@intel.com>
This commit is contained in:
parent
7bd5fa21ac
commit
4175bbb4ce
4 changed files with 11 additions and 16 deletions
|
@ -54,11 +54,12 @@ try:
|
|||
except ImportError:
|
||||
from yaml import SafeLoader
|
||||
|
||||
logger = logging.getLogger('twister')
|
||||
logger.setLevel(logging.DEBUG)
|
||||
import expr_parser
|
||||
from anytree import Node, RenderTree
|
||||
|
||||
logger = logging.getLogger('twister')
|
||||
logger.setLevel(logging.DEBUG)
|
||||
|
||||
|
||||
class ExecutionCounter(object):
|
||||
def __init__(self, total=0):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue