Skip to content

Commit cf45328

Browse files
committed
Use {} instead of dict()
1 parent 17442ed commit cf45328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/utils/conda_package_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def _parse_package_versions(env_export: str) -> dict[str, set[str]]:
101101
# since we only manage packages installed through mamba here
102102
# They are represented by a dict with a key 'pip'
103103
dependencies = filter(lambda x: isinstance(x, str), dependencies)
104-
packages_dict: dict[str, set[str]] = dict()
104+
packages_dict: dict[str, set[str]] = {}
105105
for split in map(lambda x: re.split("=?=", x), dependencies):
106106
# default values
107107
package = split[0]

0 commit comments

Comments
 (0)