[TechDraw] Fix Lint Warnings

This commit is contained in:
Syres916
2023-12-07 22:58:32 +00:00
committed by WandererFan
parent 94b201309e
commit d7ee7c7c03

View File

@@ -107,8 +107,8 @@ class TaskFillTemplateFields:
)
msg = QtCore.QT_TRANSLATE_NOOP(
"Techdraw_FillTemplateFields",
"There must be a view or projection group to establish data for the scale field in "
+ self.page.Label,
"There must be a view or projection group to"
" establish data for the scale field in " + self.page.Label,
)
msgBox.setText(msg)
msgBox.setWindowTitle(msgTitle)
@@ -291,7 +291,11 @@ class TaskFillTemplateFields:
+ "\n"
)
self.s7.setText(
"{0}/{1}/{2}".format(date.today().day, date.today().month, date.today().year)
"{0}/{1}/{2}".format(
date.today().day,
date.today().month,
date.today().year,
)
)
if str(key).lower() in CreatedDateChkLst:
t8 = QtGui.QLabel(value)
@@ -332,7 +336,11 @@ class TaskFillTemplateFields:
+ "\n"
)
self.s8.setText(
"{0}/{1}/{2}".format(date.today().day, date.today().month, date.today().year)
"{0}/{1}/{2}".format(
date.today().day,
date.today().month,
date.today().year,
)
)
if len(keyLst) > 1:
self.cbAll = QtGui.QCheckBox(