src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py

branch
eric7
changeset 10050
3750abc45d5e
parent 10048
df836ff707fd
child 10085
b5808c3a9967
diff -r 61a1757626ac -r 3750abc45d5e src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py	Mon May 22 08:46:00 2023 +0200
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py	Mon May 22 09:07:37 2023 +0200
@@ -344,27 +344,27 @@
         " It is therefore recommended to use a stacklevel of 2 or"
         " greater to provide more information to the user.",
     ),
-    "M529":QCoreApplication.translate(
+    "M529": QCoreApplication.translate(
         "MiscellaneousChecker",
         "Using 'except ():' with an empty tuple does not handle/catch "
         "anything. Add exceptions to handle.",
-    ), 
-    "M530":QCoreApplication.translate(
+    ),
+    "M530": QCoreApplication.translate(
         "MiscellaneousChecker",
         "Except handlers should only be names of exception classes",
-    ), 
-    "M531":QCoreApplication.translate(
+    ),
+    "M531": QCoreApplication.translate(
         "MiscellaneousChecker",
         "Using the generator returned from 'itertools.groupby()' more than once"
         " will do nothing on the second usage. Save the result to a list, if the"
         " result is needed multiple times.",
-    ), 
-    "M532":QCoreApplication.translate(
+    ),
+    "M532": QCoreApplication.translate(
         "MiscellaneousChecker",
         "Possible unintentional type annotation (using ':'). Did you mean to"
         " assign (using '=')?",
     ),
-    "M533":QCoreApplication.translate(
+    "M533": QCoreApplication.translate(
         "MiscellaneousChecker",
         "Sets should not contain duplicate items. Duplicate items will be replaced"
         " with a single item at runtime.",

eric ide

mercurial