Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pyohannes committed Feb 6, 2024
1 parent c4d6f10 commit 425229f
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,12 @@ def _get_attributes(self, templates: Optional[bool]):
if templates is None
or templates == AttributeType.is_template_type(attr.attr_type)
],
key=lambda attr: (attr.requirement_level.value if attr.requirement_level else RequirementLevel.OPT_IN.value, attr.fqn),
key=lambda attr: (
attr.requirement_level.value
if attr.requirement_level
else RequirementLevel.OPT_IN.value,
attr.fqn,
),
)

def __init__(self, group):
Expand Down

0 comments on commit 425229f

Please sign in to comment.