Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update example exclude to match only files in root (#1861)
* Update example exclude to match only files in root The `exclude` section of the example `pyproject.toml` file didn't work as expected. It claimed to exclude matched files only in the project root, but it actually excluded matched files at any directory level within the project. We can address this by prepending `^/` to the regex to ensure that it only matches files in the project root. See #1473 (comment) for explanation. * Mention excluding directories as well
- Loading branch information