From cf453282a06fed8bd20f306a4e33bbab1acb3089 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Mon, 3 Mar 2025 16:22:42 +0000 Subject: [PATCH] Use {} instead of dict() --- tests/utils/conda_package_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils/conda_package_helper.py b/tests/utils/conda_package_helper.py index fa394e9d..16ed8980 100644 --- a/tests/utils/conda_package_helper.py +++ b/tests/utils/conda_package_helper.py @@ -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]