diff --git a/RPI/test/int/rpi_integration_test.py b/RPI/test/int/rpi_integration_test.py index 8ceb43148e7..dec78dfe13d 100644 --- a/RPI/test/int/rpi_integration_test.py +++ b/RPI/test/int/rpi_integration_test.py @@ -1,14 +1,9 @@ import os -import platform import subprocess -import sys import time from enum import Enum -from fprime_gds.common.pipeline.standard import StandardPipeline from fprime_gds.common.testing_fw import predicates -from fprime_gds.common.testing_fw.api import IntegrationTestAPI -from fprime_gds.common.utils.config_manager import ConfigManager from fprime_gds.common.utils.event_severity import EventSeverity diff --git a/cmake/autocoder/ai-parser/ai_parser.py b/cmake/autocoder/ai-parser/ai_parser.py index badfbdd50b0..fe8c89e7510 100755 --- a/cmake/autocoder/ai-parser/ai_parser.py +++ b/cmake/autocoder/ai-parser/ai_parser.py @@ -141,7 +141,7 @@ def print_fprime_dependencies(root, current_library, import_base): gcc_order.append(dep) # Find module dependencies, and anything else left over goes last for dep in dependencies: - if not dep in gcc_order: + if dep not in gcc_order: gcc_order.append(dep) # Write out CMake style list sys.stdout.write(";".join(gcc_order)) diff --git a/cmake/autocoder/fpp-locs-differ/fpp-locs-differ.py b/cmake/autocoder/fpp-locs-differ/fpp-locs-differ.py index 64984c4fb72..1a6569ec8f1 100644 --- a/cmake/autocoder/fpp-locs-differ/fpp-locs-differ.py +++ b/cmake/autocoder/fpp-locs-differ/fpp-locs-differ.py @@ -3,7 +3,7 @@ import os import sys -from fprime_ac.utils.buildroot import build_root_relative_path, set_build_roots +from fprime_ac.utils.buildroot import set_build_roots def main(): @@ -23,7 +23,7 @@ def main(): sys.exit(1) # Previous files not generated if not os.path.exists(args_ns.prev_locs): - print(f"No pervious locations") + print("No pervious locations") sys.exit(1) with open(args_ns.prev_locs, "r") as prev_locs_fh: diff --git a/cmake/settings/ini-to-stdio.py b/cmake/settings/ini-to-stdio.py index 226b99e77de..ae8e2fb0775 100644 --- a/cmake/settings/ini-to-stdio.py +++ b/cmake/settings/ini-to-stdio.py @@ -75,7 +75,7 @@ def main(): assert ( setting_value == ut_setting_value - ), f"CMake can only parse unittest independent settings" + ), "CMake can only parse unittest independent settings" output = loaded_settings[setting] handler(output) except KeyError as key_error: diff --git a/cmake/test/src/test_feature.py b/cmake/test/src/test_feature.py index fb700f0c1eb..abd33635477 100644 --- a/cmake/test/src/test_feature.py +++ b/cmake/test/src/test_feature.py @@ -59,7 +59,7 @@ def test_feature_library(FEATURE_BUILD): def test_feature_deployment(FEATURE_BUILD): """Feature build check deployment properly detected""" cmake.assert_process_success(FEATURE_BUILD) - library_name = f"TestDeployment" + library_name = "TestDeployment" output_path = FEATURE_BUILD["build"] / "bin" / platform.system() / library_name assert output_path.exists(), f"Failed to locate {library_name} in build output" @@ -104,4 +104,4 @@ def test_feature_installation(FEATURE_BUILD): output_path = ( FEATURE_BUILD["install"] / platform.system() / "bin" / "TestDeployment" ) - assert output_path.exists(), f"Failed to locate TestDeployment in build output" + assert output_path.exists(), "Failed to locate TestDeployment in build output" diff --git a/cmake/test/src/test_ref_shared.py b/cmake/test/src/test_ref_shared.py index ab7a8357d66..97f401c8084 100644 --- a/cmake/test/src/test_ref_shared.py +++ b/cmake/test/src/test_ref_shared.py @@ -36,7 +36,7 @@ def test_ref_targets(REF_BUILD): output_path = REF_BUILD["build"] / "lib" / platform.system() / library_name assert output_path.exists(), f"Failed to locate {library_name} in build output" output_path = REF_BUILD["build"] / "bin" / platform.system() / "Ref" - assert output_path.exists(), f"Failed to locate Ref in build output" + assert output_path.exists(), "Failed to locate Ref in build output" def test_ref_installation(REF_BUILD): @@ -49,7 +49,7 @@ def test_ref_installation(REF_BUILD): output_path = REF_BUILD["install"] / platform.system() / "lib" / library_name assert output_path.exists(), f"Failed to locate {library_name} in build output" output_path = REF_BUILD["install"] / platform.system() / "bin" / "Ref" - assert output_path.exists(), f"Failed to locate Ref in build output" + assert output_path.exists(), "Failed to locate Ref in build output" def test_ref_dictionary(REF_BUILD): @@ -61,4 +61,4 @@ def test_ref_dictionary(REF_BUILD): / "dict" / "RefTopologyAppDictionary.xml" ) - assert output_path.exists(), f"Failed to locate Ref in build output" + assert output_path.exists(), "Failed to locate Ref in build output" diff --git a/cmake/test/src/test_unittests.py b/cmake/test/src/test_unittests.py index 8dd9f0f3ea5..fbb05929392 100644 --- a/cmake/test/src/test_unittests.py +++ b/cmake/test/src/test_unittests.py @@ -78,7 +78,7 @@ def test_unittest_targets(UT_BUILD): assert output_path.exists(), f"Failed to locate {library_name} in build output" for executable in ["Ref"] + UNIT_TESTS: output_path = UT_BUILD["build"] / "bin" / platform.system() / executable - assert output_path.exists(), f"Failed to locate Ref in build output" + assert output_path.exists(), "Failed to locate Ref in build output" def test_unittest_installation(UT_BUILD): @@ -91,7 +91,7 @@ def test_unittest_installation(UT_BUILD): ) assert output_path.exists(), f"Failed to locate {library_name} in build output" output_path = UT_BUILD["install"] / platform.system() / "bin" / "Ref" - assert output_path.exists(), f"Failed to locate Ref in build output" + assert output_path.exists(), "Failed to locate Ref in build output" def test_unittest_dictionary(UT_BUILD): @@ -103,4 +103,4 @@ def test_unittest_dictionary(UT_BUILD): / "dict" / "RefTopologyAppDictionary.xml" ) - assert output_path.exists(), f"Failed to locate Ref in build output" + assert output_path.exists(), "Failed to locate Ref in build output"