mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-18 07:22: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
|
# since we only manage packages installed through mamba here
|
||||||
# They are represented by a dict with a key 'pip'
|
# They are represented by a dict with a key 'pip'
|
||||||
dependencies = filter(lambda x: isinstance(x, str), dependencies)
|
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):
|
for split in map(lambda x: re.split("=?=", x), dependencies):
|
||||||
# default values
|
# default values
|
||||||
package = split[0]
|
package = split[0]
|
||||||
|
Reference in New Issue
Block a user