From 07872c8199773c08727a19ed954b551b18fb492d Mon Sep 17 00:00:00 2001 From: Zanie Date: Fri, 5 Jan 2024 16:00:53 -0600 Subject: [PATCH 1/2] Fix documentation for default `format` option for `include` and `exclude` --- docs/pyproject.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/pyproject.md b/docs/pyproject.md index 0d23d89ff02..43bee8470ad 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 constrast, `exclude` defaults to both `sdist` and `wheel`. ```toml exclude = ["my_package/excluded.py"] From 380ffa71beabdf559f3f753f1a35ada762d5630b Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 9 Jan 2024 10:34:26 -0600 Subject: [PATCH 2/2] Fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Randy Döring <30527984+radoering@users.noreply.github.com> --- docs/pyproject.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pyproject.md b/docs/pyproject.md index 43bee8470ad..aebad9f52ac 100644 --- a/docs/pyproject.md +++ b/docs/pyproject.md @@ -281,7 +281,7 @@ include = [ If no format is specified, `include` defaults to only `sdist`. -In constrast, `exclude` defaults to both `sdist` and `wheel`. +In contrast, `exclude` defaults to both `sdist` and `wheel`. ```toml exclude = ["my_package/excluded.py"]