Skip to content

Commit

Permalink
feat(sessions): Use WHEEL as default argument for installroot
Browse files Browse the repository at this point in the history
  • Loading branch information
cjolowicz committed Feb 5, 2021
1 parent 1066afc commit 41f15ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nox_poetry/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def rewrite(arg: str, extras: Optional[str]) -> str:
def installroot(
self,
*,
distribution_format: str,
distribution_format: str = DistributionFormat.WHEEL,
extras: Iterable[str] = (),
) -> None:
"""Install the root package into a Nox session using Poetry.
Expand Down
2 changes: 1 addition & 1 deletion src/nox_poetry/sessions.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Python = Optional[Union[str, Sequence[str], bool]]
class _PoetrySession:
def install(self, *args: str, **kwargs: Any) -> None: ...
def installroot(
self, *, distribution_format: str, extras: Iterable[str] = ...
self, *, distribution_format: str = ..., extras: Iterable[str] = ...
) -> None: ...
def export_requirements(self) -> Path: ...
def build_package(self, *, distribution_format: str = ...) -> str: ...
Expand Down

0 comments on commit 41f15ee

Please sign in to comment.