Use uv init --lib in tutorial (#15718)

## Summary

Closes https://github.com/astral-sh/uv/issues/10933.
This commit is contained in:
Charlie Marsh
2025-01-24 09:53:20 -05:00
committed by GitHub
parent 1feb3cf41a
commit ab2e1905c4

View File

@@ -8,13 +8,14 @@ your project. For a more detailed overview, see [_Configuring Ruff_](configurati
To start, we'll initialize a project using [uv](https://docs.astral.sh/uv/):
```console
$ uv init numbers
$ uv init --lib numbers
```
This command creates a Python project with the following structure:
```text
numbers
├── README.md
├── pyproject.toml
└── src
└── numbers