Skip to content

Commit

Permalink
replace tool.pyproject and tool.tox.pyproject with tool.tox in config… (
Browse files Browse the repository at this point in the history
#3411)

* replace tool.pyproject and tool.tox.pyproject with tool.tox in config.rst

* Create 3411.doc.rst
  • Loading branch information
graingert-coef authored Oct 16, 2024
1 parent 81a83bd commit 971e7da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/changelog/3411.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
replace ``[tool.pyproject]`` and ``[tool.tox.pyproject]`` with ``[tool.tox]`` in config.rst
12 changes: 6 additions & 6 deletions docs/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ The following options are set in the ``[tox]`` section of ``tox.ini`` or the ``[

.. code-block:: toml
[tool.tox.pyproject]
[tool.tox]
requires = [
"tox>=4",
"virtualenv>20.2",
Expand Down Expand Up @@ -291,7 +291,7 @@ The following options are set in the ``[tox]`` section of ``tox.ini`` or the ``[

.. code-block:: toml
[tool.pyproject]
[tool.tox]
labels = { test = ["3.13", "3.12"], static = ["ruff", "mypy"] }
.. tab:: INI
Expand Down Expand Up @@ -586,9 +586,9 @@ Base options

.. code-block:: toml
[tool.pyproject.env_run_base]
[tool.tox.env_run_base]
labels = ["test", "core"]
[tool.pyproject.env.flake8]
[tool.tox.env.flake8]
labels = ["mypy"]
.. tab:: INI
Expand Down Expand Up @@ -839,7 +839,7 @@ Python run
"pytest>=8",
]
[tool.pyproject.env_run_base]
[tool.tox.env_run_base]
dependency-groups = [
"test",
]
Expand Down Expand Up @@ -881,7 +881,7 @@ Python run

.. code-block:: toml
[tool.pyproject.env_run_base]
[tool.tox.env_run_base]
deps = [
"pytest>=8",
"-r requirements.txt",
Expand Down

0 comments on commit 971e7da

Please sign in to comment.