Skip to content

Commit da27591

Browse files
authored
Merge pull request #826 from dosisod/document-pyproject-toml
Document new `pyproject.toml` support
2 parents 74d959b + ed8e257 commit da27591

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/reference.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ Configuration is read from the following (in precedence order)
88

99
- Command line arguments
1010
- File specified via `--config PATH`
11-
- Search parents of specified file / directory for one of `typos.toml`, `_typos.toml`, or `.typos.toml`
11+
- Search parents of specified file / directory for one of `typos.toml`, `_typos.toml`, `.typos.toml`, or `pyproject.toml`.
12+
- In the case of `pyproject.toml`, the below fields must be under the `[tool.typos]` section. If this section does not
13+
exist, the config file will be skipped.
1214

1315
### Config Fields
1416

0 commit comments

Comments
 (0)