mirror of
https://github.com/astral-sh/ty.git
synced 2025-12-23 05:36:53 +00:00
Add a note about the leading ! for negative exclusions (#1942)
This commit is contained in:
parent
c117081ced
commit
74fd3dca49
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ exclude = ["src/generated"]
|
|||
|
||||
## Default exclusions
|
||||
|
||||
By default, ty excludes a [variety of commonly ignored directories](./reference/configuration.md#exclude_1). If you want to include one of these directories, you can do so by adding a negative `exclude`:
|
||||
By default, ty excludes a [variety of commonly ignored directories](./reference/configuration.md#exclude_1). If you want to include one of these directories, you can do so by adding a negative `exclude` using a leading `!`:
|
||||
|
||||
```toml title="pyproject.toml"
|
||||
[tool.ty.src]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue