From 473cfab5c6cda902778995ad737145d4a04bd53f Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Mon, 27 Jan 2025 12:57:57 -0600 Subject: [PATCH] Switch string formatting to use f-strings --- colcon_library_path/environment/library_path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colcon_library_path/environment/library_path.py b/colcon_library_path/environment/library_path.py index 0c33c66..162379c 100644 --- a/colcon_library_path/environment/library_path.py +++ b/colcon_library_path/environment/library_path.py @@ -51,7 +51,7 @@ def create_environment_hooks(self, prefix_path, pkg_name): # noqa: D102 environment_hooks = [] for library_descriptor in library_descriptors: library_path = prefix_path / library_descriptor.subdirectory - logger.log(1, "checking '%s'" % library_path) + logger.log(1, f"checking '{library_path}'") if any(library_path.glob('*.' + library_descriptor.extension)): environment_hooks += create_environment_hook(