Skip to content

Commit

Permalink
Restyled by autopep8
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and vatsalghelani-csa committed Dec 18, 2024
1 parent 08ea962 commit 46a3934
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 46a3934

Please sign in to comment.