Skip to content

Commit c0b682b

Browse files
committed
test(unit/cli): Fix CodeQL warnings about unused imports
1 parent 10507f3 commit c0b682b

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

tests/unit/cli/conftest.py

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# Copyright (c) 2023, INRIA
1+
# Copyright (c) 2023, Inria
22
# Copyright (c) 2023, University of Lille
33
# All rights reserved.
4-
4+
#
55
# Redistribution and use in source and binary forms, with or without
66
# modification, are permitted provided that the following conditions are met:
7-
7+
#
88
# * Redistributions of source code must retain the above copyright notice, this
99
# list of conditions and the following disclaimer.
10-
10+
#
1111
# * Redistributions in binary form must reproduce the above copyright notice,
1212
# this list of conditions and the following disclaimer in the documentation
1313
# and/or other materials provided with the distribution.
14-
14+
#
1515
# * Neither the name of the copyright holder nor the names of its
1616
# contributors may be used to endorse or promote products derived from
1717
# this software without specific prior written permission.
18-
18+
#
1919
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
2020
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2121
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -26,19 +26,21 @@
2626
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2727
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2828
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
2930
import os
3031
import sys
3132
from copy import deepcopy
3233

3334
import pytest
35+
3436
import tests.utils.cli as test_files_module
3537
from powerapi.cli.binding_manager import PreProcessorBindingManager
36-
from powerapi.cli.generator import PullerGenerator, PusherGenerator, COMPONENT_TYPE_KEY, LISTENER_ACTOR_KEY, PreProcessorGenerator
38+
from powerapi.cli.config_parser import SubgroupConfigParser, BaseConfigParser, store_true, RootConfigParser
39+
from powerapi.cli.generator import PullerGenerator, PusherGenerator, PreProcessorGenerator
40+
from powerapi.cli.parsing_manager import RootConfigParsingManager, SubgroupConfigParsingManager
3741
from powerapi.dispatcher import DispatcherActor, RouteTable
3842
from powerapi.filter import Filter
3943
from tests.utils.cli.base_config_parser import load_configuration_from_json_file, generate_cli_configuration_from_json_file
40-
from powerapi.cli.config_parser import SubgroupConfigParser, BaseConfigParser, store_true, RootConfigParser
41-
from powerapi.cli.parsing_manager import RootConfigParsingManager, SubgroupConfigParsingManager
4244

4345

4446
@pytest.fixture(name="invalid_csv_io_stream_config")

0 commit comments

Comments
 (0)