@@ -37,7 +37,7 @@ commands = [
3737 " run" ,
3838 " -m" ,
3939 " pytest" ,
40- { replace = " posargs" , extend = true , default = [
40+ { replace = " posargs" , default = [
4141 " --junitxml" ,
4242 " {work_dir}{/}junit.{env_name}.xml" ,
4343 " tests" ,
@@ -46,7 +46,7 @@ commands = [
4646 " auto" ,
4747 " --dist" ,
4848 " loadfile" ,
49- ] },
49+ ], extend = true },
5050 ],
5151 [ " coverage" , " combine" ],
5252 [ " coverage" , " report" , " --skip-covered" , " --show-missing" ],
@@ -101,12 +101,12 @@ commands = [ [ "pre-commit", "run", "--all-files", "--show-diff-on-failure" ] ]
101101commands = [
102102 [
103103 " pytest" ,
104- { replace = " posargs" , extend = true , default = [
104+ { replace = " posargs" , default = [
105105 " --junitxml" ,
106106 " {work_dir}{/}junit.{env_name}.xml" ,
107107 " tests" ,
108108 " --skip-slow" ,
109- ] },
109+ ], extend = true },
110110 ],
111111]
112112
@@ -124,12 +124,12 @@ commands = [
124124commands = [
125125 [
126126 " pytest" ,
127- { replace = " posargs" , extend = true , default = [
127+ { replace = " posargs" , default = [
128128 " --junitxml" ,
129129 " {work_dir}{/}junit.{env_name}.xml" ,
130130 " tests" ,
131131 " --skip-slow" ,
132- ] },
132+ ], extend = true },
133133 ],
134134]
135135
@@ -138,21 +138,6 @@ description = "run type checker (ty) against Python 3.14"
138138dependency_groups = [ " type" ]
139139commands = [ [ " python" , " -m" , " ty" , " check" , " src/virtualenv" , " --python-version" , " 3.14" ] ]
140140
141- [env .upgrade ]
142- description = " upgrade pip/wheels/setuptools to latest"
143- skip_install = true
144- deps = [ " ruff>=0.12.4" ]
145- pass_env = [ " UPGRADE_ADVISORY" ]
146- change_dir = " {tox_root}{/}tasks"
147- commands = [ [ " python" , " upgrade_wheels.py" ] ]
148- uv_seed = true
149-
150- [env .release ]
151- description = " do a release, required posarg of the version number"
152- deps = [ " gitpython>=3.1.44" , " packaging>=25" , " pre-commit-uv>=4.1.4" , " towncrier>=24.8" ]
153- change_dir = " {tox_root}{/}tasks"
154- commands = [ [ " python" , " release.py" , { replace = " posargs" , extend = true } ] ]
155-
156141[env .dev ]
157142description = " generate a DEV environment"
158143package = " editable"
@@ -162,6 +147,21 @@ commands = [
162147 [ " python" , " -c" , " import sys; print(sys.executable)" ],
163148]
164149
150+ [env .release ]
151+ description = " do a release, required posarg of the version number"
152+ deps = [ " gitpython>=3.1.44" , " packaging>=25" , " pre-commit-uv>=4.1.4" , " towncrier>=24.8" ]
153+ change_dir = " {tox_root}{/}tasks"
154+ commands = [ [ " python" , " release.py" , { replace = " posargs" , extend = true } ] ]
155+
156+ [env .upgrade ]
157+ description = " upgrade pip/wheels/setuptools to latest"
158+ skip_install = true
159+ deps = [ " ruff>=0.12.4" ]
160+ pass_env = [ " UPGRADE_ADVISORY" ]
161+ change_dir = " {tox_root}{/}tasks"
162+ commands = [ [ " python" , " upgrade_wheels.py" ] ]
163+ uv_seed = true
164+
165165[env .zipapp ]
166166description = " generate a zipapp"
167167skip_install = true
0 commit comments