mirror of
https://github.com/astral-sh/ruff.git
synced 2026-10-28 10:45:37 +08:00
Use uv init --lib in tutorial (#15718)
## Summary Closes https://github.com/astral-sh/uv/issues/10933.
This commit is contained in:
1 parent
1feb3cf41a
commit
ab2e1905c4
1 file changed
+2
-1
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user