Skip to content

Commit 442670f

Browse files
committed
refactor(poetry)!: Use a better name for the "install" scope
Align the name with the name used in poetry. Signed-off-by: Frank Viernau <[email protected]>
1 parent f9b5537 commit 442670f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/package-managers/python/src/funTest/assets/projects/synthetic/poetry-expected-output.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ project:
1616
path: "<REPLACE_PATH>"
1717
homepage_url: ""
1818
scopes:
19-
- name: "install"
19+
- name: "main"
2020
dependencies:
2121
- id: "PyPI::graphviz:0.19.1"
2222
- id: "PyPI::jinja2:3.0.3"

plugins/package-managers/python/src/main/kotlin/Poetry.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class Poetry(
7373
version = VersionControlSystem.getCloneInfo(definitionFile.parentFile).revision
7474
),
7575
definitionFilePath = VersionControlSystem.getPathInfo(definitionFile).path,
76-
scopeDependencies = setOf(Scope("install", result.resolvedDependenciesGraph.toPackageReferences())),
76+
scopeDependencies = setOf(Scope("main", result.resolvedDependenciesGraph.toPackageReferences())),
7777
vcsProcessed = processProjectVcs(definitionFile.parentFile)
7878
)
7979

0 commit comments

Comments
 (0)