mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-26 02:51:08 -05:00
docs: Document new pyproject.toml
support
This commit is contained in:
parent
74d959bf38
commit
ed8e25700c
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,9 @@ Configuration is read from the following (in precedence order)
|
||||||
|
|
||||||
- Command line arguments
|
- Command line arguments
|
||||||
- File specified via `--config PATH`
|
- File specified via `--config PATH`
|
||||||
- Search parents of specified file / directory for one of `typos.toml`, `_typos.toml`, or `.typos.toml`
|
- Search parents of specified file / directory for one of `typos.toml`, `_typos.toml`, `.typos.toml`, or `pyproject.toml`.
|
||||||
|
- In the case of `pyproject.toml`, the below fields must be under the `[tool.typos]` section. If this section does not
|
||||||
|
exist, the config file will be skipped.
|
||||||
|
|
||||||
### Config Fields
|
### Config Fields
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue