From 78f1ddbf0c7e6d5b739bfc33907eef0b881e0e65 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Thu, 25 Jul 2024 14:54:44 -0700 Subject: [PATCH] PEP 715: clarify what `[package.tool]` is --- peps/pep-0751.rst | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/peps/pep-0751.rst b/peps/pep-0751.rst index 5584d4bf268..a60811048b6 100644 --- a/peps/pep-0751.rst +++ b/peps/pep-0751.rst @@ -547,15 +547,21 @@ other is disallowed. ------------------ - Optional -- Same usage as that of the equivalent table from the - `pyproject.toml specification`_. +- Table +- Similar usage as that of the ``[tool]`` table from the + `pyproject.toml specification`_ , but at the package version level instead of + at the lock file level (which is also available via ``[tool]``). +- Useful for scoping package version/release details (e.g., recording signing + identities to then use to verify package integrity separately from where the + package is hosted, prototyping future extensions to this file format, etc.). ``[tool]`` ========== - Optional -- Same usage as that of the equivalent table from the +- Table +- Same usage as that of the equivalent ``[tool]`` table from the `pyproject.toml specification`_.