Skip to content

Commit 971e7da

Browse files
replace tool.pyproject and tool.tox.pyproject with tool.tox in config… (#3411)
* replace tool.pyproject and tool.tox.pyproject with tool.tox in config.rst * Create 3411.doc.rst
1 parent 81a83bd commit 971e7da

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
@@ -586,9 +586,9 @@ Base options
586586

587587
.. code-block:: toml
588588
589-
[tool.pyproject.env_run_base]
589+
[tool.tox.env_run_base]
590590
labels = ["test", "core"]
591-
[tool.pyproject.env.flake8]
591+
[tool.tox.env.flake8]
592592
labels = ["mypy"]
593593
594594
.. tab:: INI
@@ -839,7 +839,7 @@ Python run
839839
"pytest>=8",
840840
]
841841
842-
[tool.pyproject.env_run_base]
842+
[tool.tox.env_run_base]
843843
dependency-groups = [
844844
"test",
845845
]
@@ -881,7 +881,7 @@ Python run
881881

882882
.. code-block:: toml
883883
884-
[tool.pyproject.env_run_base]
884+
[tool.tox.env_run_base]
885885
deps = [
886886
"pytest>=8",
887887
"-r requirements.txt",

0 commit comments

Comments
 (0)