Sat, 23 Dec 2023 19:45:41 +0100
Corrected some code style issues.
--- a/MqttMonitor/MqttClient.py Sat Dec 23 15:48:49 2023 +0100 +++ b/MqttMonitor/MqttClient.py Sat Dec 23 19:45:41 2023 +0100 @@ -936,7 +936,7 @@ elif mqttErrno == mqtt.MQTT_ERR_PROTOCOL: return QCoreApplication.translate( "MqttErrorMessage", - "A network protocol error occurred when communicating with" " the broker.", + "A network protocol error occurred when communicating with the broker.", ) elif mqttErrno == mqtt.MQTT_ERR_INVAL: return QCoreApplication.translate(
--- a/MqttMonitor/MqttConnectionProfilesDialog.py Sat Dec 23 15:48:49 2023 +0100 +++ b/MqttMonitor/MqttConnectionProfilesDialog.py Sat Dec 23 19:45:41 2023 +0100 @@ -934,9 +934,7 @@ button = EricMessageBox.warning( self, self.tr("Changed Connection Profiles"), - self.tr( - """The list of connection profiles has unsaved""" """ changes.""" - ), + self.tr("""The list of connection profiles has unsaved changes."""), EricMessageBox.Abort | EricMessageBox.Discard | EricMessageBox.Save, EricMessageBox.Save, )
--- a/MqttMonitor/MqttMonitorWidget.py Sat Dec 23 15:48:49 2023 +0100 +++ b/MqttMonitor/MqttMonitorWidget.py Sat Dec 23 19:45:41 2023 +0100 @@ -997,7 +997,7 @@ self, self.tr("Save Messages"), self.tr( - "<p>The file <b>{0}</b> already exists." " Overwrite it?</p>" + "<p>The file <b>{0}</b> already exists. Overwrite it?</p>" ).format(fn), icon=EricMessageBox.Warning, ) @@ -1058,7 +1058,7 @@ self, self.tr("Save Log Messages"), self.tr( - "<p>The file <b>{0}</b> already exists." " Overwrite it?</p>" + "<p>The file <b>{0}</b> already exists. Overwrite it?</p>" ).format(fn), icon=EricMessageBox.Warning, )
--- a/PluginMqttMonitor.epj Sat Dec 23 15:48:49 2023 +0100 +++ b/PluginMqttMonitor.epj Sat Dec 23 19:45:41 2023 +0100 @@ -66,9 +66,9 @@ "CopyrightAuthor": "", "CopyrightMinFileSize": 0, "DocstringType": "eric_black", - "EnabledCheckerCategories": "C, D, E, I, M, NO, N, Y, U, W", + "EnabledCheckerCategories": "C, D, E, I, L, M, NO, N, Y, U, W", "ExcludeFiles": "*/Ui_*.py", - "ExcludeMessages": "C101,E203,E265,E266,E305,E402,M201,M301,M302,M303,M304,M305,M306,M307,M308,M311,M312,M313,M314,M315,M321,M701,M702,M811,M834,N802,N803,N807,N808,N821,W293,W503,Y119,Y401,Y402", + "ExcludeMessages": "C101,E203,E265,E266,E305,E402,M201,M301,M302,M303,M304,M305,M306,M307,M308,M311,M312,M313,M314,M315,M321,M701,M702,M811,M834,M852,N802,N803,N807,N808,N821,W293,W503,Y119,Y401,Y402", "FixCodes": "", "FixIssues": false, "FutureChecker": "",