Skip to content

Commit 7ba496d

Browse files
committed
stash didnt work as expected
1 parent 1def2b4 commit 7ba496d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

codeflash/optimization/optimizer.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,6 @@ def create_function_optimizer(
7676
)
7777

7878
def run(self) -> None:
79-
<<<<<<< Updated upstream
80-
if self.args.formatter_cmds[0].startswith("black") or self.args.formatter_cmds[0].startswith("ruff"):
81-
formatter = self.args.formatter_cmds[0].split(" ")[0]
82-
try:
83-
execute_test_subprocess([formatter])
84-
except (FileNotFoundError, NotADirectoryError):
85-
click.echo(f"⚠️ Formatter not found: {formatter}, please ensure it is installed. Exiting...")
86-
sys.exit(1)
87-
88-
=======
89-
>>>>>>> Stashed changes
9079
ph("cli-optimize-run-start")
9180
logger.info("Running optimizer.")
9281
console.rule()

0 commit comments

Comments
 (0)