From 971e7da6af040ef8c9e5e9ac3f2fcaab0f6c9b0d Mon Sep 17 00:00:00 2001 From: graingert-coef <151018808+graingert-coef@users.noreply.github.com> Date: Wed, 16 Oct 2024 15:26:26 +0100 Subject: [PATCH] =?UTF-8?q?replace=20tool.pyproject=20and=20tool.tox.pypro?= =?UTF-8?q?ject=20with=20tool.tox=20in=20config=E2=80=A6=20(#3411)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * replace tool.pyproject and tool.tox.pyproject with tool.tox in config.rst * Create 3411.doc.rst --- docs/changelog/3411.doc.rst | 1 + docs/config.rst | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 docs/changelog/3411.doc.rst 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",