Fix flake8 complaints
This commit is contained in:
+5
-4
@@ -157,10 +157,11 @@ class GuiAbout(QDialog):
|
||||
"<p>%s</p>" % (
|
||||
self.tr(
|
||||
"See the License tab for the full license text, or visit the "
|
||||
"GNU website at {0} for more details.").format(
|
||||
"<a href=\"https://www.gnu.org/licenses/gpl-3.0.html\">GPL v3.0</a>"
|
||||
)
|
||||
),
|
||||
"GNU website at {0} for more details."
|
||||
).format(
|
||||
"<a href=\"https://www.gnu.org/licenses/gpl-3.0.html\">GPL v3.0</a>"
|
||||
)
|
||||
),
|
||||
"<h3>%s</h3>" % self.tr("Credits"),
|
||||
"<p>{credits:s}</p>",
|
||||
]).format(
|
||||
|
||||
+2
-2
@@ -974,8 +974,8 @@ class GuiProjectTree(QTreeWidget):
|
||||
else:
|
||||
self.makeAlert(
|
||||
self.tr(
|
||||
"There is nowhere to add item with name '{0}'").format(nwItem.itemName
|
||||
), nwAlert.ERROR
|
||||
"There is nowhere to add item with name '{0}'"
|
||||
).format(nwItem.itemName), nwAlert.ERROR
|
||||
)
|
||||
del self._treeMap[tHandle]
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user