@@ -6,7 +6,7 @@ skip_missing_interpreters = true
66description = " run the unit tests with pytest under {env_name}"
77package = " wheel"
88wheel_build_env = " .pkg"
9- extras = [ " testing " ]
9+ dependency_groups = [ " test " ]
1010pass_env = [ " PYTEST_*" ]
1111set_env.COVERAGE_FILE = { replace = " env" , name = " COVERAGE_FILE" , default = " {work_dir}{/}.coverage.{env_name}" }
1212commands = [
@@ -38,13 +38,13 @@ commands = [
3838[env .fix ]
3939description = " format the code base to adhere to our styles, and complain about what we cannot do automatically"
4040skip_install = true
41- deps = [ " pre-commit-uv>=4.2 " ]
41+ dependency_groups = [ " lint " ]
4242commands = [ [ " pre-commit" , " run" , " --all-files" , " --show-diff-on-failure" ] ]
4343
4444[env .pkg_meta ]
4545description = " check that the long description is valid"
4646skip_install = true
47- deps = [ " check-wheel-contents>=0.6.3 " , " twine>=6.2 " , " uv>=0.9.16 " ]
47+ dependency_groups = [ " pkg-meta " ]
4848commands = [
4949 [ " uv" , " build" , " --sdist" , " --wheel" , " --out-dir" , " {env_tmp_dir}" , " ." ],
5050 [ " twine" , " check" , " {env_tmp_dir}{/}*" ],
@@ -53,12 +53,13 @@ commands = [
5353
5454[env .type ]
5555description = " run type check on code base"
56- deps = [ " ty>=0.0.17 " ]
56+ dependency_groups = [ " type " ]
5757commands = [ [ " ty" , " check" , " --output-format" , " concise" , " --error-on-warning" , " ." ] ]
5858
5959[env .dev ]
6060description = " generate a DEV environment"
6161package = " editable"
62+ dependency_groups = [ " dev" ]
6263commands = [
6364 [ " uv" , " pip" , " tree" ],
6465 [ " python" , " -c" , " import sys; print(sys.executable)" ],
0 commit comments