Skip to content

Commit

Permalink
locker: fix project marker type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
abn committed Apr 5, 2022
1 parent fae3e30 commit 6d270cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/poetry/packages/locker.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@


if TYPE_CHECKING:
from poetry.core.semver.version_constraint import VersionConstraint
from poetry.core.version.markers import BaseMarker
from tomlkit.items import InlineTable
from tomlkit.toml_document import TOMLDocument
Expand Down Expand Up @@ -316,7 +315,7 @@ def get_project_dependencies(
def get_project_dependency_packages(
self,
project_requires: list[Dependency],
project_python_marker: VersionConstraint | None = None,
project_python_marker: BaseMarker | None = None,
dev: bool = False,
extras: bool | Sequence[str] | None = None,
) -> Iterator[DependencyPackage]:
Expand Down

0 comments on commit 6d270cd

Please sign in to comment.