Skip to content

Commit 4a8a8ec

Browse files
committed
fix typos
1 parent dc1d175 commit 4a8a8ec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/poetry/core/packages/dependency.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ def _make_file_or_dir_dep(
505505
Helper function to create a file or directoru dependency with the given arguments.
506506
507507
If path is not a file or directory that exists, a guess is made based on the suffix
508-
of the given path. This is done to prevent dependendencies from being parsed as normal
508+
of the given path. This is done to prevent dependencies from being parsed as normal
509509
dependencies. This allows for downstream error handling.
510510
511511
See also: poetry#10068

tests/test_factory.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@ def test_create_poetry_with_shared_dependency_groups(
14171417
("quux", "child-1"),
14181418
("quux", "child-2"),
14191419
# Duplicates because dependency is included via several groups.
1420-
# This is ok because they are merged during depenendency resolution.
1420+
# This is ok because they are merged during dependency resolution.
14211421
("quux", "root"),
14221422
("quux", "root"),
14231423
("quux", "shared"),
@@ -1492,7 +1492,7 @@ def test_create_poetry_with_shared_dependency_groups_more_complicated(
14921492
("quux", "child-2"),
14931493
("quux", "grandchild"),
14941494
# Duplicates because dependency is included via several groups.
1495-
# This is ok because they are merged during depenendency resolution.
1495+
# This is ok because they are merged during dependency resolution.
14961496
("quux", "root"),
14971497
("quux", "root"),
14981498
("quux", "shared"),
@@ -1708,7 +1708,7 @@ def test_create_poetry_with_nested_similar_dependencies(
17081708
(dep.name, ",".join(dep.groups)) for dep in poetry.package.all_requires
17091709
] == [
17101710
# Duplicates because dependency is included via several groups.
1711-
# This is ok because they are merged during depenendency resolution.
1711+
# This is ok because they are merged during dependency resolution.
17121712
("foo", "parent"),
17131713
("foo", "parent"),
17141714
("foo", "child"),

0 commit comments

Comments
 (0)