Skip to content

Commit 268af8f

Browse files
dakshbhayana11811137webknjaz
authored andcommitted
Dependency groups cross link added : WIP
1 parent bf1bef6 commit 268af8f

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

source/specifications/pyproject-toml.rst

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ tools (as well as other tools).
1616

1717
.. note:: This specification was originally defined in :pep:`518` and :pep:`621`.
1818

19-
The ``pyproject.toml`` file is written in `TOML <https://toml.io>`_. Three
19+
The ``pyproject.toml`` file is written in `TOML <https://toml.io>`_. Several
2020
tables are currently specified, namely
2121
:ref:`[build-system] <pyproject-build-system-table>`,
22-
:ref:`[project] <pyproject-project-table>` and
23-
:ref:`[tool] <pyproject-tool-table>`. Other tables are reserved for future
22+
:ref:`[project] <pyproject-project-table>`,
23+
:ref:`[tool] <pyproject-tool-table>`, and
24+
:ref:`[dependency-groups] <pyproject-dependency-groups-table>`. Other tables are reserved for future
2425
use (tool-specific configuration should use the ``[tool]`` table).
2526

27+
2628
.. _pyproject-build-system-table:
2729

2830
Declaring build system dependencies: the ``[build-system]`` table
@@ -541,6 +543,7 @@ History
541543
added and ``License::`` classifiers were deprecated through :pep:`639`.
542544

543545

546+
.. _pyproject-dependency-groups-table:
544547

545548
Declaring dependency groups: the ``[dependency-groups]`` table
546549
===================================================
@@ -550,9 +553,9 @@ This specification defines Dependency Groups, a mechanism for storing package re
550553

551554
Dependency Groups are suitable for internal development use-cases like linting and testing, as well as for projects which are not built for distribution, like collections of related scripts.
552555

553-
The `[dependency-groups]` table is an optional top-level table that allows defining non-distribution dependencies used for internal tooling, such as testing or linting.
556+
The ``[dependency-groups]`` table is an optional top-level table that allows defining non-distribution dependencies used for internal tooling, such as testing or linting.
554557

555-
For the full specification and behavior, refer to the [Dependency Groups specification](https://packaging.python.org/en/latest/specifications/dependency-groups/).
558+
For the full specification and behavior, refer to the `Dependency Groups specification <https://packaging.python.org/en/latest/specifications/dependency-groups/>`_.
556559

557560

558561

0 commit comments

Comments
 (0)