Skip to content

Commit d6c360c

Browse files
committed
why poetry?
1 parent 31053fc commit d6c360c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

codeflash/cli_cmds/cmd_init.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ def customize_codeflash_yaml_content(
637637
except FileNotFoundError:
638638
click.echo(
639639
f"I couldn't find a pyproject.toml in the current directory.{LF}"
640-
f"Please create a new empty pyproject.toml file here, OR if you use poetry then run `poetry init`, OR run `codeflash init` again from a directory with an existing pyproject.toml file."
640+
f"Please create a new empty pyproject.toml file here, OR if you use poetry then run `codeflash init`, OR run `codeflash init` again from a directory with an existing pyproject.toml file."
641641
)
642642
apologize_and_exit()
643643

@@ -669,7 +669,7 @@ def configure_pyproject_toml(setup_info: SetupInfo) -> None:
669669
except FileNotFoundError:
670670
click.echo(
671671
f"I couldn't find a pyproject.toml in the current directory.{LF}"
672-
f"Please create a new empty pyproject.toml file here, OR if you use poetry then run `poetry init`, OR run `codeflash init` again from a directory with an existing pyproject.toml file."
672+
f"Please create a new empty pyproject.toml file here, OR if you use poetry then run `codeflash init`, OR run `codeflash init` again from a directory with an existing pyproject.toml file."
673673
)
674674
apologize_and_exit()
675675

codeflash/code_utils/config_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def find_pyproject_toml(config_file: Path | None = None) -> Path:
2626
return config_file
2727
# Search for pyproject.toml in the parent directories
2828
dir_path = dir_path.parent
29-
msg = f"Could not find pyproject.toml in the current directory {Path.cwd()} or any of the parent directories. Please create it by running `poetry init`, or pass the path to pyproject.toml with the --config-file argument."
29+
msg = f"Could not find pyproject.toml in the current directory {Path.cwd()} or any of the parent directories. Please create it by running `codeflash init`, or pass the path to pyproject.toml with the --config-file argument."
3030

3131
raise ValueError(msg)
3232

0 commit comments

Comments
 (0)