diff --git a/docs/changelog/3411.doc.rst b/docs/changelog/3411.doc.rst new file mode 100644 index 0000000000..7d8cb48121 --- /dev/null +++ b/docs/changelog/3411.doc.rst @@ -0,0 +1 @@ +replace ``[tool.pyproject]`` and ``[tool.tox.pyproject]`` with ``[tool.tox]`` in config.rst diff --git a/docs/config.rst b/docs/config.rst index 8e41a36b1e..2393a88493 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -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", @@ -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 @@ -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 @@ -839,7 +839,7 @@ Python run "pytest>=8", ] - [tool.pyproject.env_run_base] + [tool.tox.env_run_base] dependency-groups = [ "test", ] @@ -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",