nox-uv 0.6.3__py3-none-any.whl → 0.7.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
nox_uv/__init__.py CHANGED
@@ -25,7 +25,9 @@ def session(
25
25
  uv_extras: Sequence[str] = (),
26
26
  uv_only_groups: Sequence[str] = (),
27
27
  uv_all_extras: bool = False,
28
+ uv_no_extras: Sequence[str] = (),
28
29
  uv_all_groups: bool = False,
30
+ uv_no_groups: Sequence[str] = (),
29
31
  uv_no_install_project: bool = False,
30
32
  uv_sync_locked: bool = True,
31
33
  **kwargs: dict[str, Any],
@@ -54,7 +56,9 @@ def session(
54
56
  uv_groups=uv_groups,
55
57
  uv_extras=uv_extras,
56
58
  uv_all_extras=uv_all_extras,
59
+ uv_no_extras=uv_no_extras,
57
60
  uv_all_groups=uv_all_groups,
61
+ uv_no_groups=uv_no_groups,
58
62
  uv_only_groups=uv_only_groups,
59
63
  uv_no_install_project=uv_no_install_project,
60
64
  uv_sync_locked=uv_sync_locked,
@@ -82,9 +86,13 @@ def session(
82
86
 
83
87
  if uv_all_groups:
84
88
  extended_cmd.append("--all-groups")
89
+ # Add the no-group(s)
90
+ extended_cmd.extend([f"--no-group={g}" for g in uv_no_groups])
85
91
 
86
92
  if uv_all_extras:
87
93
  extended_cmd.append("--all-extras")
94
+ # Add the no-extra(s)
95
+ extended_cmd.extend([f"--no-extra={e}" for e in uv_no_extras])
88
96
 
89
97
  if uv_no_install_project:
90
98
  extended_cmd.append("--no-install-project")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nox-uv
3
- Version: 0.6.3
3
+ Version: 0.7.0
4
4
  Summary: Facilitate nox integration with uv for Python projects
5
5
  Keywords: nox,uv
6
6
  Author: Dan Tebben
@@ -130,7 +130,9 @@ def lint(s: Session) -> None:
130
130
  - `uv_only_groups`: list of `uv` _only-groups_ to include. Prevents installation of project
131
131
  _dependencies_
132
132
  - `uv_all_extras`: boolean to install all _optional-dependencies_ from `pyproject.toml`
133
+ - `uv_no_extras`: list of extras to exclude during install of `uv_all_extras`
133
134
  - `uv_all_groups`: boolean to install all _dependency-groups_
135
+ - `uv_no_groups`: list of groups to exclude during install of `uv_all_groups`
134
136
  - `uv_no_install_project`: boolean to not install the current project
135
137
  - `uv_sync_locked`: boolean to validate that `uv.lock` is up to date
136
138
 
@@ -0,0 +1,6 @@
1
+ nox_uv/__init__.py,sha256=eHdLqUtf3HBYAXaqsS3aiXGdAvcnBQhrSX9i6SD-fLU,4335
2
+ nox_uv/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ nox_uv-0.7.0.dist-info/licenses/LICENSE.txt,sha256=iTZ5ALF1isnM6Ey9Tjom0XIGBBysArB0I2NHZ9a-b8I,1067
4
+ nox_uv-0.7.0.dist-info/WHEEL,sha256=RRVLqVugUmFOqBedBFAmA4bsgFcROUBiSUKlERi0Hcg,79
5
+ nox_uv-0.7.0.dist-info/METADATA,sha256=hWd_ZI7EoBtmWs7hlP-4AhIlg6kmeyvyNUkUIqgOYvY,5017
6
+ nox_uv-0.7.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: uv 0.9.5
2
+ Generator: uv 0.9.21
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,6 +0,0 @@
1
- nox_uv/__init__.py,sha256=mMZxMHQNKNTp4AblBvFa6nBrn28Nx7iME_TpO0XBV2E,3979
2
- nox_uv/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- nox_uv-0.6.3.dist-info/licenses/LICENSE.txt,sha256=iTZ5ALF1isnM6Ey9Tjom0XIGBBysArB0I2NHZ9a-b8I,1067
4
- nox_uv-0.6.3.dist-info/WHEEL,sha256=M6du7VZflc4UPsGphmOXHANdgk8zessdJG0DBUuoA-U,78
5
- nox_uv-0.6.3.dist-info/METADATA,sha256=tXjtG_iOpX9tUllUBE7WEvFhbye3hUFnPsijNeBHNdc,4861
6
- nox_uv-0.6.3.dist-info/RECORD,,