mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 15:02:57 +00:00
Use {} instead of dict()
This commit is contained in:
@@ -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]
|
||||
|
Reference in New Issue
Block a user