]> git.phdru.name Git - cookiecutter.git/commitdiff
Tests(tox): Change syntax for `envlist`
authorOleg Broytman <phd@phdru.name>
Mon, 13 Jan 2025 21:58:31 +0000 (00:58 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 13 Jan 2025 22:54:13 +0000 (01:54 +0300)
`[testenv:]` doesn't allow lists like `[testenv:py27,py3{4,5}]`;
it only allows syntax like `[testenv:py{27,34,35}]`.
This commit changes syntax for `envlist` to make it closer to `[testenv:]`.

project_template/tox.ini

index 2a9303792a77b7575a13d813f546b99429104d15..2c88fcd27aa90d0394ebfb1bcf793fe952a2a642 100644 (file)
@@ -1,6 +1,6 @@
 [tox]
 minversion = 3.15
-envlist = py27,py3{4,5,6,7,8,9,10,11,12,13},pypy,pypy3,py{27,37,312}-flake8
+envlist = py{27,34,35,36,37,38,39,310,311,312,313,py,py3},py{27,37,312}-flake8
 
 [testenv]
 commands =