Skip to content

Commit 08f2ac5

Browse files
authored
Improve testenv docs consistency (#3440)
1 parent a442878 commit 08f2ac5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/user_guide.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Core settings
9292
~~~~~~~~~~~~~
9393

9494
Core settings that affect all test environments or configure how tox itself is invoked are defined under the root table
95-
in ``tox.toml`` and ``tox`` table in ``tox.ini`` section.
95+
in ``tox.toml`` and ``tox`` section in ``tox.ini``.
9696

9797
.. tab:: TOML
9898

@@ -202,8 +202,6 @@ Basic example
202202
203203
204204
env_list = ["format", "3.13"]
205-
format
206-
py310
207205
208206
[env.format]
209207
description = "install black in a virtual environment and invoke it on the current folder"
@@ -247,7 +245,7 @@ two run environments named ``format`` and ``3.13`` that should be run by default
247245
specific environment.
248246

249247
The formatting environment and test environment are defined separately (via the ``env.format`` and ``env."3.13"`` in
250-
TOML file; ``testenv:format`` and ``testenv:py310`` in INI file). For example to format the project we:
248+
TOML file; ``testenv:format`` and ``testenv:py313`` in INI file). For example to format the project we:
251249

252250
- add a description (visible when you type ``tox list`` into the command line) via the :ref:`description` setting
253251
- define that it requires the :pypi:`black` dependency with version ``22.3.0`` via the :ref:`deps` setting

0 commit comments

Comments
 (0)