mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 14:51:25 +00:00
[ty] Fix incorrect type of src.root
in documentation (#18040)
This commit is contained in:
parent
fcd858e0c8
commit
be6ec613db
3 changed files with 7 additions and 7 deletions
|
@ -162,17 +162,17 @@ typeshed = "/path/to/custom/typeshed"
|
|||
|
||||
#### `root`
|
||||
|
||||
The root(s) of the project, used for finding first-party modules.
|
||||
The root of the project, used for finding first-party modules.
|
||||
|
||||
**Default value**: `[".", "./src"]`
|
||||
|
||||
**Type**: `list[str]`
|
||||
**Type**: `str`
|
||||
|
||||
**Example usage** (`pyproject.toml`):
|
||||
|
||||
```toml
|
||||
[tool.ty.src]
|
||||
root = ["./app"]
|
||||
root = "./app"
|
||||
```
|
||||
|
||||
---
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue