Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Feb 19, 2024
1 parent 75e8ca2 commit 9e0f4d8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,10 @@ def parse(prefix, yaml_attributes) -> "Dict[str, SemanticAttribute]":
):
for member in attr_type.members:
if member.stability == StabilityLevel.STABLE:
msg = f"Member '{member.member_id}' is marked as stable, but it is not allowed on experimental attribute!"
msg = (
f"Member '{member.member_id}' is marked as stable "
+ "but it is not allowed on experimental attribute!"
)
raise ValidationError.from_yaml_pos(position_data["type"], msg)

deprecated = SemanticAttribute.parse_deprecated(
Expand Down

0 comments on commit 9e0f4d8

Please sign in to comment.