Fix flake8 complaints

This commit is contained in:
Veronica K. B. Olsen
2021-02-15 17:01:38 +01:00
parent 89cf28fade
commit 6d56bc7c0c
4 changed files with 10 additions and 10 deletions
+5 -4
View File
@@ -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
View File
@@ -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