Visitar URL original
review · astral-sh/uv@b6c5328 · GitHub
Skip to content

Commit b6c5328

Browse files
committed
review
1 parent 78bb2a4 commit b6c5328

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎crates/uv-cli/src/lib.rs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3408,7 +3408,9 @@ pub struct InitArgs {
34083408
///
34093409
/// Defines a `[build-system]` for the project.
34103410
///
3411-
/// This is the default behavior, the option exists for backwards compatibility.
3411+
/// This is the default behavior when using `--lib` or `--build-backend`, or when the
3412+
/// `packaged-init` preview feature is enabled. It will become the default unconditionally in
3413+
/// the future.
34123414
///
34133415
/// When using `--app`, this will include a `[project.scripts]` entrypoint and use a `src/`
34143416
/// project structure.

‎crates/uv/src/commands/project/init.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ impl InitProjectKind {
828828
// read conditional includes that depend on the repository path.
829829
init_vcs(path, vcs)?;
830830

831-
// Do no fill in `authors` for non-packaged applications unless explicitly requested.
831+
// Do not fill in `authors` for non-packaged applications unless explicitly requested.
832832
let author_from = author_from.unwrap_or_else(|| {
833833
if package {
834834
AuthorFrom::default()
@@ -983,7 +983,7 @@ impl InitProjectKind {
983983
// read conditional includes that depend on the repository path.
984984
init_vcs(path, vcs)?;
985985

986-
// Do no fill in `authors` for non-packaged applications unless explicitly requested.
986+
// Do not fill in `authors` for non-packaged applications unless explicitly requested.
987987
let author_from = author_from.unwrap_or_else(|| match self {
988988
Self::ApplicationWithLibrary | Self::Library | Self::BareWithBuildSystem => {
989989
AuthorFrom::default()

0 commit comments

Comments
 (0)