mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
Fix example pyproject.toml in project concept documentation (#9298)
The snippet out of context looks like a valid minimal pyproject.toml which it is not without name and version. The line worked in layout.md before when it was just under the minimal config. --------- Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
parent
c62c83c37a
commit
98c96b718f
1 changed files with 3 additions and 1 deletions
|
@ -7,8 +7,10 @@ field of the `pyproject.toml`.
|
|||
|
||||
It is recommended to set a `requires-python` value:
|
||||
|
||||
```toml title="pyproject.toml"
|
||||
```toml title="pyproject.toml" hl_lines="4"
|
||||
[project]
|
||||
name = "example"
|
||||
version = "0.1.0"
|
||||
requires-python = ">=3.12"
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue