mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-03-14 15:26:02 -06:00
Refactor profile name check method in linter
CURA-11153
This commit is contained in:
parent
ceb5e7096e
commit
196a4cf0c0
1 changed files with 1 additions and 2 deletions
|
|
@ -23,8 +23,7 @@ class Profile(Linter):
|
|||
|
||||
def checklengthofProfileName(self) -> Iterator[Diagnostic]:
|
||||
|
||||
data = self._isNameSizeBIggerThanThreshhold()
|
||||
""" Check if there is a dot in the directory name, MacOS has trouble signing and notarizing otherwise """
|
||||
""" check the name of profile and where it is found"""
|
||||
name_of_profile, found = self._getprofileName()
|
||||
if len(name_of_profile) > Profile.MAX_SIZE_OF_NAME:
|
||||
yield Diagnostic(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue