src/eric7/Plugins/WizardPlugins/SetupWizard/SetupWizardDialog.py

branch
eric7
changeset 10621
f5631f40c4d9
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
--- a/src/eric7/Plugins/WizardPlugins/SetupWizard/SetupWizardDialog.py	Mon Mar 04 11:26:52 2024 +0100
+++ b/src/eric7/Plugins/WizardPlugins/SetupWizard/SetupWizardDialog.py	Mon Mar 04 11:42:39 2024 +0100
@@ -497,9 +497,9 @@
             )
 
         if self.descriptionContentTypeComboBox.currentData():
-            metadata[
-                "long_description_content_type"
-            ] = self.descriptionContentTypeComboBox.currentData()
+            metadata["long_description_content_type"] = (
+                self.descriptionContentTypeComboBox.currentData()
+            )
 
         if self.authorEdit.text():
             metadata["author"] = self.authorEdit.text()
@@ -591,9 +591,9 @@
             }
             for row in range(self.entryPointsList.topLevelItemCount()):
                 itm = self.entryPointsList.topLevelItem(row)
-                entryPoints[itm.data(0, Qt.ItemDataRole.UserRole)][
-                    itm.text(1)
-                ] = itm.text(2)
+                entryPoints[itm.data(0, Qt.ItemDataRole.UserRole)][itm.text(1)] = (
+                    itm.text(2)
+                )
             for epType in list(entryPoints):
                 if entryPoints[epType]:
                     entryPoints[epType] = SetupCfgUtilities.toString(
@@ -648,9 +648,9 @@
             else:
                 readme = tomlkit.table()
                 readme["text"] = self.descriptionEdit.toPlainText()
-                readme[
-                    "content-type"
-                ] = self.descriptionContentTypeComboBox.currentData()
+                readme["content-type"] = (
+                    self.descriptionContentTypeComboBox.currentData()
+                )
                 project["readme"] = readme
 
         if self.authorEdit.text():
@@ -736,9 +736,9 @@
             }
             for row in range(self.entryPointsList.topLevelItemCount()):
                 itm = self.entryPointsList.topLevelItem(row)
-                entryPoints[itm.data(0, Qt.ItemDataRole.UserRole)][
-                    itm.text(1)
-                ] = itm.text(2)
+                entryPoints[itm.data(0, Qt.ItemDataRole.UserRole)][itm.text(1)] = (
+                    itm.text(2)
+                )
 
             if entryPoints["console_scripts"]:
                 scripts = tomlkit.table()

eric ide

mercurial