Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon committed Feb 7, 2025
1 parent cd861f5 commit d766ea0
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions peps/pep-0751.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,20 +154,6 @@ consistent order. Usage of inline tables SHOULD also be kept consistent.
- If an tool doesn't support a major version, it MUST raise an error.


``created-by``
==============

- **Type**: string
- **Required?**: yes
- **Inspiration**: Tools with their name in their lock file name
- Records the name of the tool used to create the lock file.
- Tools MAY use the ``[tool]`` table to record enough details that it can be
inferred what inputs were used to create the lock file.
- Tools SHOULD record the normalized name of the tool if it is available as a
Python package to facilitate finding the tool.



``environments``
================

Expand Down Expand Up @@ -202,6 +188,19 @@ consistent order. Usage of inline tables SHOULD also be kept consistent.
be installed MUST narrow down to a single entry at install time.


``created-by``
==============

- **Type**: string
- **Required?**: yes
- **Inspiration**: Tools with their name in their lock file name
- Records the name of the tool used to create the lock file.
- Tools MAY use the ``[tool]`` table to record enough details that it can be
inferred what inputs were used to create the lock file.
- Tools SHOULD record the normalized name of the tool if it is available as a
Python package to facilitate finding the tool.


.. Identification
``packages.name``
Expand Down Expand Up @@ -647,6 +646,7 @@ Example
metadata-version = "1.0"
requires-python = ">=3.9"
created-by = "PEP 751"
[[packages]]
name = "attrs"
Expand Down

0 comments on commit d766ea0

Please sign in to comment.