Skip to content

Commit 66633e1

Browse files
authored
fix: unpack sets with python 3.8-syntax (#35)
* fix: unpack set with Python 3.8-compatible syntax * bump poetry plugin to 1.0.6
1 parent accecff commit 66633e1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

components/polylith/diff/report.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,9 @@ def print_short_diff(
9090

9191
a = _changed_projects(projects_data, "components", components)
9292
b = _changed_projects(projects_data, "bases", bases)
93+
c = set(projects)
9394

94-
res = a | b | set(projects)
95+
res = {*a, *b, *c}
9596

9697
console = Console(theme=info_theme)
9798
console.print(",".join(res))

projects/poetry_polylith_plugin/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "poetry-polylith-plugin"
3-
version = "1.0.5"
3+
version = "1.0.6"
44
description = "A Poetry plugin that adds tooling support for the Polylith Architecture"
55
authors = ["David Vujic"]
66
homepage = "https://github.com/davidvujic/python-polylith"

0 commit comments

Comments
 (0)