Skip to content

Commit

Permalink
Fixes a typo in a warning message (#840)
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt-bartscher authored Feb 22, 2025
1 parent eee84d7 commit c8a4bb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/poetry/core/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ def _validate_legacy_vs_project(
result["warnings"].append(
"[tool.poetry.dependencies] is set but [project.dependencies] is not"
" and 'dependencies' is not in [project.dynamic]."
" You should either migrate [tool.poetry.depencencies] to"
" You should either migrate [tool.poetry.dependencies] to"
" [project.dependencies] (if you do not need Poetry-specific features)"
" or add [project.dependencies] in addition to"
" [tool.poetry.dependencies] or add 'dependencies' to"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ def test_validate_dependencies_non_package_mode(with_project_section: bool) -> N
(
"[tool.poetry.dependencies] is set but [project.dependencies] is "
"not and 'dependencies' is not in [project.dynamic]. You should "
"either migrate [tool.poetry.depencencies] to "
"either migrate [tool.poetry.dependencies] to "
"[project.dependencies] (if you do not need Poetry-specific "
"features) or add [project.dependencies] in addition to "
"[tool.poetry.dependencies] or add 'dependencies' to "
Expand Down

0 comments on commit c8a4bb6

Please sign in to comment.