Skip to content

Commit 7fb23eb

Browse files
committed
Document the dependency-groups table also in "writing pyproject.toml"
This is the matching change to that made in the `pyprojec.toml` spec in the previous commit, which links to this page.
1 parent 41ed3d5 commit 7fb23eb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎source/guides/writing-pyproject-toml.rst‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Writing your ``pyproject.toml``
66

77
``pyproject.toml`` is a configuration file used by packaging tools, as
88
well as other tools such as linters, type checkers, etc. There are
9-
three possible TOML tables in this file.
9+
four possible TOML tables in this file.
1010

1111
- The ``[build-system]`` table is **strongly recommended**. It allows
1212
you to declare which :term:`build backend` you use and which other
@@ -15,6 +15,10 @@ three possible TOML tables in this file.
1515
- The ``[project]`` table is the format that most build backends use to specify
1616
your project's basic metadata, such as the dependencies, your name, etc.
1717

18+
- The ``[dependency-groups]`` table specifies dependencies for development tasks
19+
such as testing and linting. See the
20+
:ref:`Dependency Groups specification <dependency-groups>`.
21+
1822
- The ``[tool]`` table has tool-specific subtables, e.g., ``[tool.hatch]``,
1923
``[tool.black]``, ``[tool.mypy]``. We only touch upon this table here because
2024
its contents are defined by each tool. Consult the particular tool's

0 commit comments

Comments
 (0)