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/):
|
To start, we'll initialize a project using [uv](https://docs.astral.sh/uv/):
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ uv init numbers
|
$ uv init --lib numbers
|
||||||
```
|
```
|
||||||
|
|
||||||
This command creates a Python project with the following structure:
|
This command creates a Python project with the following structure:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
numbers
|
numbers
|
||||||
|
├── README.md
|
||||||
├── pyproject.toml
|
├── pyproject.toml
|
||||||
└── src
|
└── src
|
||||||
└── numbers
|
└── numbers
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue