From 05f39efa52deb801800309c6ee8cce7c17f61d49 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 10 Jan 2024 09:54:20 -0600 Subject: [PATCH] Fix documentation for default `format` option for `include` and `exclude` (#8852) --- docs/pyproject.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/pyproject.md b/docs/pyproject.md index 0d23d89ff02..aebad9f52ac 100644 --- a/docs/pyproject.md +++ b/docs/pyproject.md @@ -279,7 +279,9 @@ include = [ ] ``` -If no format is specified, it will default to include both `sdist` and `wheel`. +If no format is specified, `include` defaults to only `sdist`. + +In contrast, `exclude` defaults to both `sdist` and `wheel`. ```toml exclude = ["my_package/excluded.py"]