Skip to content

Commit 889f64a

Browse files
Don't create pyproject.toml via add_readme (#751)
1 parent 1d56097 commit 889f64a

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

src/usethis/_core/readme.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from usethis._integrations.file.pyproject_toml.errors import PyprojectTOMLError
66
from usethis._integrations.file.pyproject_toml.name import get_description
77
from usethis._integrations.project.name import get_project_name
8-
from usethis._integrations.uv.init import ensure_pyproject_toml
98

109

1110
def add_readme() -> None:
@@ -19,8 +18,6 @@ def add_readme() -> None:
1918
else:
2019
return
2120

22-
ensure_pyproject_toml()
23-
2421
project_name = get_project_name()
2522

2623
try:

tests/usethis/_core/test_core_readme.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ def test_start_from_nothing(
2020
out, err = capfd.readouterr()
2121
assert not err
2222
assert out == (
23-
"✔ Writing 'pyproject.toml'.\n"
2423
"✔ Writing 'README.md'.\n"
2524
"☐ Populate 'README.md' to help users understand the project.\n"
2625
)

0 commit comments

Comments
 (0)