message has profile name in bold

CURA-11153
This commit is contained in:
Saumya Jain 2024-04-24 11:01:30 +02:00
parent 56aad519ae
commit 0ce09d917c

View File

@ -29,7 +29,7 @@ class Profile(Linter):
yield Diagnostic(
file=self._file,
diagnostic_name="diagnostic-long-profile-names",
message = f"The profile name exceeds the maximum length limit. For optimal results, please limit it to 20 characters or fewer.",
message = f"The profile name **{name_of_profile}** exceeds the maximum length limit. For optimal results, please limit it to 20 characters or fewer.",
level="Warning",
offset = found.span(0)[0]
)