Skip to content

Commit fe71b4f

Browse files
authored
Update cmd_init.py
1 parent fa9911d commit fe71b4f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

codeflash/cli_cmds/cmd_init.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -590,13 +590,8 @@ def configure_pyproject_toml(setup_info: SetupInfo) -> None:
590590
if formatter in ["black", "ruff"]:
591591
try:
592592
result = subprocess.run([formatter], capture_output=True, check=False)
593-
click.echo(f"✅ Formatter exists on system")
594-
click.echo()
595593
except FileNotFoundError as e:
596594
click.echo(f"⚠️ Formatter not found: {formatter}")
597-
click.echo()
598-
# Not throwing an exception, letting the program proceed even though the formatter was not found, putting it on the user to install it later
599-
# raise e from None
600595
codeflash_section["formatter-cmds"] = formatter_cmds
601596
# Add the 'codeflash' section, ensuring 'tool' section exists
602597
tool_section = pyproject_data.get("tool", tomlkit.table())

0 commit comments

Comments
 (0)