From b8ce44a19dcc15970973631dbf5de2308004a3fb Mon Sep 17 00:00:00 2001 From: Guillaume Fieni Date: Thu, 28 Nov 2024 16:45:55 +0100 Subject: [PATCH] refactor(message): Fix CodeQL `py/unused-import` warnings --- src/powerapi/message.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/powerapi/message.py b/src/powerapi/message.py index ace2a18f..65cd94aa 100644 --- a/src/powerapi/message.py +++ b/src/powerapi/message.py @@ -1,4 +1,4 @@ -# Copyright (c) 2022, INRIA +# Copyright (c) 2022, Inria # Copyright (c) 2022, University of Lille # All rights reserved. # @@ -27,16 +27,6 @@ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -from __future__ import annotations -from typing import TYPE_CHECKING - - -if TYPE_CHECKING: - from powerapi.database import BaseDB - from powerapi.filter import Filter - from powerapi.dispatcher import RouteTable - from powerapi.formula import FormulaActor, FormulaState - class Message: """