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

branch
eric7
changeset 8801
8fbb21be8579
parent 8790
548df4df8256
child 8802
129a973fc33e
--- a/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Imports/translations.py	Wed Dec 01 18:03:11 2021 +0100
+++ b/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Imports/translations.py	Wed Dec 01 20:09:57 2021 +0100
@@ -11,7 +11,15 @@
 from PyQt6.QtCore import QCoreApplication
 
 _importsMessages = {
-
+    "I101": QCoreApplication.translate(
+        "ImportsChecker",
+        "local import must be at the beginning of the method body"),
+    "I102": QCoreApplication.translate(
+        "ImportsChecker",
+        "packages from external modules should not be imported locally"),
+    "I103": QCoreApplication.translate(
+        "ImportsChecker",
+        "packages from standard modules should not be imported locally"),
 }
 
 _importsMessagesSampleArgs = {

eric ide

mercurial