Corrected some code style and formatting issues.

Mon, 29 Jul 2024 11:39:03 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 29 Jul 2024 11:39:03 +0200
changeset 44
e5e923c6a6db
parent 43
2ef4c1f1adea
child 45
3a1c60dcfc18

Corrected some code style and formatting issues.

PipxInterface/Documentation/Source/Plugin_Pipx_Interface.PluginPipxInterface.html file | annotate | diff | comparison | revisions
PipxInterface/PipxWidget.py file | annotate | diff | comparison | revisions
PluginPipxInterface.py file | annotate | diff | comparison | revisions
--- a/PipxInterface/Documentation/Source/Plugin_Pipx_Interface.PluginPipxInterface.html	Mon Jul 29 11:37:20 2024 +0200
+++ b/PipxInterface/Documentation/Source/Plugin_Pipx_Interface.PluginPipxInterface.html	Mon Jul 29 11:39:03 2024 +0200
@@ -103,7 +103,7 @@
 </tr>
 <tr>
 <td><a href="#PluginPipxInterface.setOutdatedIndicator">setOutdatedIndicator</a></td>
-<td>Public method to set or clear the outdated indication of the pipx icon</td>
+<td>Public method to set or clear the outdated indication of the pipx icon.</td>
 </tr>
 <tr>
 <td><a href="#PluginPipxInterface.setPreferences">setPreferences</a></td>
@@ -208,7 +208,7 @@
 <h4>PluginPipxInterface.setOutdatedIndicator</h4>
 <b>setOutdatedIndicator</b>(<i>outdated</i>)
 <p>
-        Public method to set or clear the outdated indication of the pipx icon
+        Public method to set or clear the outdated indication of the pipx icon.
 </p>
 
 <dl>
--- a/PipxInterface/PipxWidget.py	Mon Jul 29 11:37:20 2024 +0200
+++ b/PipxInterface/PipxWidget.py	Mon Jul 29 11:39:03 2024 +0200
@@ -11,7 +11,7 @@
 
 import psutil
 
-from PyQt6.QtCore import QTimer, Qt, pyqtSlot
+from PyQt6.QtCore import Qt, QTimer, pyqtSlot
 from PyQt6.QtGui import QIcon
 from PyQt6.QtWidgets import QDialog, QMenu, QTreeWidgetItem, QWidget
 
--- a/PluginPipxInterface.py	Mon Jul 29 11:37:20 2024 +0200
+++ b/PluginPipxInterface.py	Mon Jul 29 11:39:03 2024 +0200
@@ -265,7 +265,7 @@
 
     def setOutdatedIndicator(self, outdated):
         """
-        Public method to set or clear the outdated indication of the pipx icon
+        Public method to set or clear the outdated indication of the pipx icon.
 
         @param outdated flag indicating outdated packages or dependencies
         @type bool
@@ -279,7 +279,7 @@
                 index,
                 EricPixmapCache.getIcon(
                     os.path.join("PipxInterface", "icons", iconName)
-                )
+                ),
             )
         elif uiLayoutType == "Sidebars":
             iconName = "pipxOutdated96" if outdated else "pipx96"
@@ -288,7 +288,7 @@
                 index,
                 EricPixmapCache.getIcon(
                     os.path.join("PipxInterface", "icons", iconName)
-                )
+                ),
             )
 
     def getPreferences(self, key):

eric ide

mercurial