Skip to content

Commit 1e66edd

Browse files
committed
Add examples to docs with generative syntax in deps and setenv
1 parent 5740268 commit 1e66edd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/config.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1663,6 +1663,12 @@ Both enumerations (``{1,2,3}``) and numerical ranges (``{1-3}``) are supported,
16631663
[tox]
16641664
env_list = py3{8-10, 11, 13-14}
16651665
1666+
[testenv]
1667+
deps =
1668+
py{310,311-314}: urllib3
1669+
setenv =
1670+
py{310,311-314}: FOO=bar
1671+
16661672
will create the following envs:
16671673

16681674
.. code-block:: shell

0 commit comments

Comments
 (0)