Skip to content

Commit

Permalink
avoid circular dependency in sample project (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby authored Apr 3, 2023
1 parent a9d93cf commit 3277bf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/fixtures/sample_project/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.poetry]
name = "my-package"
name = "sample-project"
version = "1.2.3"
description = "Some description."
authors = [
Expand Down Expand Up @@ -51,7 +51,7 @@ pytest = "~3.4"


[tool.poetry.scripts]
my-script = "my_package:main"
my-script = "sample_project:main"


[tool.poetry.plugins."blogtool.parsers"]
Expand Down
2 changes: 1 addition & 1 deletion tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def reset_poetry(self) -> None:


class TestLocker(Locker):
def __init__(self, lock: str | Path, local_config: dict[str, Any]) -> None:
def __init__(self, lock: Path, local_config: dict[str, Any]) -> None:
super().__init__(lock, local_config)
self._locked = False
self._write = False
Expand Down

0 comments on commit 3277bf0

Please sign in to comment.