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

branch
eric7
changeset 11147
dee6e106b4d3
parent 11090
f5f5f5803935
child 11148
15e30f0c76a8
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Imports/translations.py	Sun Feb 23 12:42:47 2025 +0100
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Imports/translations.py	Mon Feb 24 15:11:18 2025 +0100
@@ -11,28 +11,28 @@
 from PyQt6.QtCore import QCoreApplication
 
 _importsMessages = {
-    "I101": QCoreApplication.translate(
+    "I-101": QCoreApplication.translate(
         "ImportsChecker", "local import must be at the beginning of the method body"
     ),
-    "I102": QCoreApplication.translate(
+    "I-102": QCoreApplication.translate(
         "ImportsChecker",
         "packages from external modules should not be imported locally",
     ),
-    "I103": QCoreApplication.translate(
+    "I-103": QCoreApplication.translate(
         "ImportsChecker",
         "packages from standard modules should not be imported locally",
     ),
-    "I901": QCoreApplication.translate(
+    "I-901": QCoreApplication.translate(
         "ImportsChecker", "unnecessary import alias - rewrite as '{0}'"
     ),
-    "I902": QCoreApplication.translate("ImportsChecker", "banned import '{0}' used"),
-    "I903": QCoreApplication.translate(
+    "I-902": QCoreApplication.translate("ImportsChecker", "banned import '{0}' used"),
+    "I-903": QCoreApplication.translate(
         "ImportsChecker", "relative imports from parent modules are banned"
     ),
-    "I904": QCoreApplication.translate("ImportsChecker", "relative imports are banned"),
+    "I-904": QCoreApplication.translate("ImportsChecker", "relative imports are banned"),
 }
 
 _importsMessagesSampleArgs = {
-    "I901": ["from foo import bar"],
-    "I902": ["foo"],
+    "I-901": ["from foo import bar"],
+    "I-902": ["foo"],
 }

eric ide

mercurial