Skip to content

Commit bc86d29

Browse files
authored
Merge branch 'main' into main
2 parents 4b85319 + 971e7da commit bc86d29

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

docs/changelog/3411.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
replace ``[tool.pyproject]`` and ``[tool.tox.pyproject]`` with ``[tool.tox]`` in config.rst

docs/config.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ The following options are set in the ``[tox]`` section of ``tox.ini`` or the ``[
186186

187187
.. code-block:: toml
188188
189-
[tool.tox.pyproject]
189+
[tool.tox]
190190
requires = [
191191
"tox>=4",
192192
"virtualenv>20.2",
@@ -291,7 +291,7 @@ The following options are set in the ``[tox]`` section of ``tox.ini`` or the ``[
291291

292292
.. code-block:: toml
293293
294-
[tool.pyproject]
294+
[tool.tox]
295295
labels = { test = ["3.13", "3.12"], static = ["ruff", "mypy"] }
296296
297297
.. tab:: INI
@@ -591,9 +591,9 @@ Base options
591591

592592
.. code-block:: toml
593593
594-
[tool.pyproject.env_run_base]
594+
[tool.tox.env_run_base]
595595
labels = ["test", "core"]
596-
[tool.pyproject.env.flake8]
596+
[tool.tox.env.flake8]
597597
labels = ["mypy"]
598598
599599
.. tab:: INI
@@ -844,7 +844,7 @@ Python run
844844
"pytest>=8",
845845
]
846846
847-
[tool.pyproject.env_run_base]
847+
[tool.tox.env_run_base]
848848
dependency-groups = [
849849
"test",
850850
]
@@ -886,7 +886,7 @@ Python run
886886

887887
.. code-block:: toml
888888
889-
[tool.pyproject.env_run_base]
889+
[tool.tox.env_run_base]
890890
deps = [
891891
"pytest>=8",
892892
"-r requirements.txt",

0 commit comments

Comments
 (0)