Skip to content

Commit 68c8c3a

Browse files
Reformat
1 parent 646de64 commit 68c8c3a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tools/python/mbed_platformio/build_mbed_ce.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def is_cmake_reconfigure_required() -> bool:
9696
ninja_buildfile = BUILD_DIR / "build.ninja"
9797

9898
if not cmake_cache_file.exists():
99-
print(f"Mbed CE: Reconfigure required because CMake cache does not exist")
99+
print("Mbed CE: Reconfigure required because CMake cache does not exist")
100100
return True
101101
if not CMAKE_API_REPLY_DIR.is_dir() or not any(CMAKE_API_REPLY_DIR.iterdir()):
102102
print("Mbed CE: Reconfigure required because CMake API reply dir is missing")
@@ -132,7 +132,6 @@ def run_tool(command_and_args: list[str] | None = None) -> None:
132132
if int(ARGUMENTS.get("PIOVERBOSE", 0)):
133133
print(result["out"])
134134
print(result["err"])
135-
pass
136135

137136

138137
def get_cmake_code_model(cmake_args: list) -> dict:
@@ -318,4 +317,4 @@ def get_app_defines(app_config: dict) -> list[tuple[str, str]]:
318317
_ = env.Depends("$BUILD_DIR/$PROGNAME$PROGSUFFIX", str(project_ld_script))
319318
env.Append(LDSCRIPT_PATH=str(project_ld_script))
320319

321-
print("Mbed CE: Build environment configured.")
320+
print("Mbed CE: Build environment configured.")

tools/python/mbed_platformio/cmake_to_scons_converter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ def prepare_build_envs(target_json: dict, default_env: Environment) -> list[Envi
5454
target_compile_groups = target_json.get("compileGroups", [])
5555
if not target_compile_groups:
5656
print(
57-
"Warning! The `%s` component doesn't register any source files. "
58-
"Check if sources are set in component's CMakeLists.txt!" % target_json["name"]
57+
f"Warning! The `{target_json['name']}` component doesn't register any source files. "
58+
"Check if sources are set in component's CMakeLists.txt!"
5959
)
6060

6161
for cg in target_compile_groups:

tools/python/mbed_tools/build/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"""
66
Provides the core Python parts of the build system for Mbed OS.
77
8-
This module contains the configuration generation functionality, which processes JSON files into a set of target flags.
8+
This module contains the configuration generation functionality, which processes JSON files into a set of target labels,
9+
flags, and options.
910
"""
1011

1112
from mbed_tools.build.config import generate_config as generate_config

0 commit comments

Comments
 (0)