From 46a39345496ba53b35b3e99bce58fee54e697712 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 18 Dec 2024 14:24:34 +0000 Subject: [PATCH] Restyled by autopep8 --- .../chip/testing/spec_parsing.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/python_testing/matter_testing_infrastructure/chip/testing/spec_parsing.py b/src/python_testing/matter_testing_infrastructure/chip/testing/spec_parsing.py index f5c70e02b8d6c5..9fc63ba82bcff0 100644 --- a/src/python_testing/matter_testing_infrastructure/chip/testing/spec_parsing.py +++ b/src/python_testing/matter_testing_infrastructure/chip/testing/spec_parsing.py @@ -536,7 +536,7 @@ def dirname(self): return "device_types" raise KeyError("Invalid enum: %r" % self) - + def get_data_model_directory(data_model_directory: Union[PrebuiltDataModelDirectory, Traversable], data_model_level: DataModelLevel = DataModelLevel.kCluster) -> Traversable: """ Get the directory of the data model for a specific version and level from the installed package. @@ -553,7 +553,6 @@ def get_data_model_directory(data_model_directory: Union[PrebuiltDataModelDirect 'data_model').joinpath(data_model_directory.dirname).joinpath(data_model_level.dirname) - def build_xml_clusters(data_model_directory: Union[PrebuiltDataModelDirectory, Traversable] = PrebuiltDataModelDirectory.k1_4) -> typing.Tuple[dict[int, dict], list]: """ Build XML clusters from the specified data model directory. @@ -616,7 +615,6 @@ def remove_problem(location: typing.Union[CommandPathLocation, FeaturePathLocati combine_derived_clusters_with_base(clusters, pure_base_clusters, ids_by_name, problems) - # TODO: All these fixups should be removed BEFORE SVE if at all possible # Workaround for Color Control cluster - the spec uses a non-standard conformance. Set all to optional now, will need # to implement either arithmetic conformance handling (once spec changes land here) or specific test