mirror of https://github.com/astral-sh/ruff
Use `uv init --lib` in tutorial (#15718)
## Summary Closes https://github.com/astral-sh/uv/issues/10933.
This commit is contained in:
parent
1feb3cf41a
commit
ab2e1905c4
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue