Skip to content

Commit 3277bf0

Browse files
authored
avoid circular dependency in sample project (#190)
1 parent a9d93cf commit 3277bf0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/fixtures/sample_project/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.poetry]
2-
name = "my-package"
2+
name = "sample-project"
33
version = "1.2.3"
44
description = "Some description."
55
authors = [
@@ -51,7 +51,7 @@ pytest = "~3.4"
5151

5252

5353
[tool.poetry.scripts]
54-
my-script = "my_package:main"
54+
my-script = "sample_project:main"
5555

5656

5757
[tool.poetry.plugins."blogtool.parsers"]

tests/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def reset_poetry(self) -> None:
3939

4040

4141
class TestLocker(Locker):
42-
def __init__(self, lock: str | Path, local_config: dict[str, Any]) -> None:
42+
def __init__(self, lock: Path, local_config: dict[str, Any]) -> None:
4343
super().__init__(lock, local_config)
4444
self._locked = False
4545
self._write = False

0 commit comments

Comments
 (0)