Use {} instead of dict()

This commit is contained in:
Ayaz Salikhov
2025-03-03 16:22:42 +00:00
parent 17442ed877
commit cf453282a0

View File

@@ -101,7 +101,7 @@ class CondaPackageHelper:
# since we only manage packages installed through mamba here
# They are represented by a dict with a key 'pip'
dependencies = filter(lambda x: isinstance(x, str), dependencies)
packages_dict: dict[str, set[str]] = dict()
packages_dict: dict[str, set[str]] = {}
for split in map(lambda x: re.split("=?=", x), dependencies):
# default values
package = split[0]