From 2c96c4f95483bdf252bccfc52ff932175de357fe Mon Sep 17 00:00:00 2001 From: Saurabh Misra Date: Thu, 29 May 2025 14:36:35 -0700 Subject: [PATCH] remove set --- codeflash/code_utils/formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codeflash/code_utils/formatter.py b/codeflash/code_utils/formatter.py index 875fd0a1f..77d7d6cb8 100644 --- a/codeflash/code_utils/formatter.py +++ b/codeflash/code_utils/formatter.py @@ -22,7 +22,7 @@ def format_code(formatter_cmds: list[str], path: Path) -> str: if formatter_name == "disabled": return path.read_text(encoding="utf8") file_token = "$file" # noqa: S105 - for command in set(formatter_cmds): + for command in formatter_cmds: formatter_cmd_list = shlex.split(command, posix=os.name != "nt") formatter_cmd_list = [path.as_posix() if chunk == file_token else chunk for chunk in formatter_cmd_list] try: