Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace tool.pyproject and tool.tox.pyproject with tool.tox in config… #3411

Merged
merged 2 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading