mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
docs: fix invalid syntax in some sources examples (#10127)
## Summary TOML 1.0 doesn't support multi-line for inline tables, so those examples are invalid.
This commit is contained in:
parent
755ca8efb5
commit
b24fb774b1
3 changed files with 8 additions and 29 deletions
|
@ -292,7 +292,7 @@ pub struct ToolUv {
|
|||
example = r#"
|
||||
[tool.uv.sources]
|
||||
httpx = { git = "https://github.com/encode/httpx", tag = "0.27.0" }
|
||||
pytest = { url = "https://files.pythonhosted.org/packages/6b/77/7440a06a8ead44c7757a64362dd22df5760f9b12dc5f11b6188cd2fc27a0/pytest-8.3.3-py3-none-any.whl" }
|
||||
pytest = { url = "https://files.pythonhosted.org/packages/6b/77/7440a06a8ead44c7757a64362dd22df5760f9b12dc5f11b6188cd2fc27a0/pytest-8.3.3-py3-none-any.whl" }
|
||||
pydantic = { path = "/path/to/pydantic", editable = true }
|
||||
"#
|
||||
)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue