Skip to content

Commit

Permalink
Merge branch 'master' into fix-projectbuilder-path2
Browse files Browse the repository at this point in the history
  • Loading branch information
Secrus authored Dec 29, 2023
2 parents 0a0f36d + 8fd5721 commit 3f9427a
Show file tree
Hide file tree
Showing 6 changed files with 680 additions and 647 deletions.
2 changes: 1 addition & 1 deletion docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ The `--sync` can be combined with group-related options:
```bash
poetry install --without dev --sync
poetry install --with docs --sync
poetry install --only dev
poetry install --only dev --sync
```

You can also specify the extras you want installed
Expand Down
Empty file added tests/utils/env/__init__.py
Empty file.
24 changes: 24 additions & 0 deletions tests/utils/env/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
from __future__ import annotations

from typing import TYPE_CHECKING

import pytest

from poetry.utils.env import EnvManager


if TYPE_CHECKING:

from poetry.poetry import Poetry
from tests.types import FixtureDirGetter
from tests.types import ProjectFactory


@pytest.fixture
def poetry(project_factory: ProjectFactory, fixture_dir: FixtureDirGetter) -> Poetry:
return project_factory("simple", source=fixture_dir("simple_project"))


@pytest.fixture
def manager(poetry: Poetry) -> EnvManager:
return EnvManager(poetry)
Loading

0 comments on commit 3f9427a

Please sign in to comment.