diff --git a/tests/test_async_delete.py b/tests/test_async_delete.py index 79fea0192..fc9c3fe76 100644 --- a/tests/test_async_delete.py +++ b/tests/test_async_delete.py @@ -1,13 +1,13 @@ -import subprocess +import subprocess # noqa: I001 import tempfile import time import unittest from pathlib import Path from unittest import TestCase +from .setup_mock_chericonfig import MockConfig, setup_mock_chericonfig from pycheribuild.config.compilation_targets import CompilationTargets from pycheribuild.projects.project import DefaultInstallDir, ExternallyManagedSourceRepository, Project -from .setup_mock_chericonfig import MockConfig, setup_mock_chericonfig # noinspection PyTypeChecker diff --git a/tests/test_project_helpers.py b/tests/test_project_helpers.py index 13902d8d4..6b57ca9cf 100644 --- a/tests/test_project_helpers.py +++ b/tests/test_project_helpers.py @@ -1,13 +1,13 @@ -import re +import re # noqa: I001 from pathlib import Path import pytest +from .setup_mock_chericonfig import CheriConfig, setup_mock_chericonfig from pycheribuild.config.target_info import BasicCompilationTargets, DefaultInstallDir from pycheribuild.projects.cmake_project import CMakeProject from pycheribuild.projects.repository import ExternallyManagedSourceRepository from pycheribuild.targets import target_manager -from .setup_mock_chericonfig import CheriConfig, setup_mock_chericonfig def test_add_cmake_option(): diff --git a/tests/test_target_order.py b/tests/test_target_order.py index 151e8aae1..905f9a278 100644 --- a/tests/test_target_order.py +++ b/tests/test_target_order.py @@ -1,4 +1,4 @@ -import copy +import copy # noqa: I001 import inspect # noinspection PyUnresolvedReferences @@ -6,6 +6,7 @@ import pytest +from .setup_mock_chericonfig import CheriConfig, setup_mock_chericonfig from pycheribuild.config.compilation_targets import CompilationTargets, enable_hybrid_for_purecap_rootfs_targets from pycheribuild.config.target_info import CrossCompileTarget @@ -33,7 +34,6 @@ from pycheribuild.projects.spike import RunCheriSpikeBase from pycheribuild.projects.syzkaller import BuildSyzkaller, RunSyzkaller from pycheribuild.targets import Target, target_manager -from .setup_mock_chericonfig import CheriConfig, setup_mock_chericonfig # noinspection PyProtectedMember