diff --git a/lobster/tools/codebeamer/codebeamer.py b/lobster/tools/codebeamer/codebeamer.py index 23165240..80c7b7cc 100755 --- a/lobster/tools/codebeamer/codebeamer.py +++ b/lobster/tools/codebeamer/codebeamer.py @@ -60,7 +60,7 @@ class SupportedConfigKeys(Enum): @classmethod def as_set(cls) -> set: - return set([parameter.value for parameter in cls]) + return {parameter.value for parameter in cls} def add_refs_refrences(req, flat_values_list): @@ -249,8 +249,12 @@ def to_lobster(cb_config, cb_item): schema_config = get_schema_config(cb_config) # Construct the appropriate object based on 'kind' - common_params = _create_common_params(schema_config["namespace"], cb_item, cb_config["root"], item_name, kind) - item = _create_lobster_item(schema_config["class"], common_params, item_name, status) + common_params = _create_common_params( + schema_config["namespace"], cb_item, + cb_config["root"], item_name, kind) + item = _create_lobster_item( + schema_config["class"], + common_params, item_name, status) if cb_config.get(REFERENCES): for reference_name, displayed_chosen_names in (