Skip to content

Commit

Permalink
Merge pull request #826 from dosisod/document-pyproject-toml
Browse files Browse the repository at this point in the history
Document new `pyproject.toml` support
  • Loading branch information
epage authored Sep 8, 2023
2 parents 74d959b + ed8e257 commit da27591
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ Configuration is read from the following (in precedence order)

- Command line arguments
- 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

Expand Down

0 comments on commit da27591

Please sign in to comment.