1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-09-02 18:11:53 +01:00

devlib: Remove unused imports

Also import 'warnings' before 'wrapt' module to address a pylint
warning.

Signed-off-by: Metin Kaya <metin.kaya@arm.com>
This commit is contained in:
Metin Kaya
2024-01-17 11:46:02 +00:00
committed by Marc Bonnici
parent 7ccdea6b8e
commit 38d8053f2f
13 changed files with 21 additions and 50 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 2019 ARM Limited
# Copyright 2024 ARM Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -19,7 +19,6 @@ from datetime import timedelta
from devlib.collector import (CollectorBase, CollectorOutput,
CollectorOutputEntry)
from devlib.target import KernelConfigTristate
from devlib.exception import TargetStableError
from devlib.utils.misc import memoized

View File

@@ -1,4 +1,4 @@
# Copyright 2018 ARM Limited
# Copyright 2024 ARM Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -14,7 +14,6 @@
#
import os
import shutil
from devlib.collector import (CollectorBase, CollectorOutput,
CollectorOutputEntry)

View File

@@ -1,4 +1,4 @@
# Copyright 2018 ARM Limited
# Copyright 2024 ARM Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -13,8 +13,6 @@
# limitations under the License.
#
import shutil
from tempfile import NamedTemporaryFile
from pexpect.exceptions import TIMEOUT
from devlib.collector import (CollectorBase, CollectorOutput,

View File

@@ -1,4 +1,4 @@
# Copyright 2018 ARM Limited
# Copyright 2024 ARM Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -16,9 +16,6 @@
import os
import subprocess
from shutil import copyfile
from tempfile import NamedTemporaryFile
from devlib.collector import (CollectorBase, CollectorOutput,
CollectorOutputEntry)
from devlib.exception import TargetStableError, HostError