From 5f7c578975f09d512046a25bcbf62509ad4e94cf Mon Sep 17 00:00:00 2001 From: Aliaksei Urbanski Date: Tue, 6 Aug 2024 23:29:35 +0300 Subject: [PATCH] Add supported interpreters to tox.ini PyYAML declares supported for a wide range of Python versions, but not all of them were included to the envlist at tox.ini. These changes also: * enable the skip_missing_interpreters option * add {posargs} to the test command in order to provide flexibility, so you can pass arguments to pytest, e.g.: tox -- -k test_dump --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 412d7dbc..703eda93 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,9 @@ [tox] -envlist = py38,py39,py310,py311,py312 +envlist = py3{13,12,11,10,9,8},pypy3{10,9,8} +skip_missing_interpreters = true [testenv] deps = pytest commands = - pytest - + pytest {posargs}