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

branch
eric7
changeset 11147
dee6e106b4d3
parent 11090
f5f5f5803935
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Naming/translations.py	Sun Feb 23 12:42:47 2025 +0100
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Naming/translations.py	Mon Feb 24 15:11:18 2025 +0100
@@ -12,62 +12,62 @@
 from PyQt6.QtCore import QCoreApplication
 
 _namingStyleMessages = {
-    "N801": QCoreApplication.translate(
+    "N-801": QCoreApplication.translate(
         "NamingStyleChecker", "class names should use CapWords convention"
     ),
-    "N802": QCoreApplication.translate(
+    "N-802": QCoreApplication.translate(
         "NamingStyleChecker", "function name should be lowercase"
     ),
-    "N803": QCoreApplication.translate(
+    "N-803": QCoreApplication.translate(
         "NamingStyleChecker", "argument name should be lowercase"
     ),
-    "N804": QCoreApplication.translate(
+    "N-804": QCoreApplication.translate(
         "NamingStyleChecker", "first argument of a class method should be named 'cls'"
     ),
-    "N805": QCoreApplication.translate(
+    "N-805": QCoreApplication.translate(
         "NamingStyleChecker", "first argument of a method should be named 'self'"
     ),
-    "N806": QCoreApplication.translate(
+    "N-806": QCoreApplication.translate(
         "NamingStyleChecker",
         "first argument of a static method should not be named 'self' or 'cls",
     ),
-    "N807": QCoreApplication.translate(
+    "N-807": QCoreApplication.translate(
         "NamingStyleChecker", "module names should be lowercase"
     ),
-    "N808": QCoreApplication.translate(
+    "N-808": QCoreApplication.translate(
         "NamingStyleChecker", "package names should be lowercase"
     ),
-    "N809": QCoreApplication.translate(
+    "N-809": QCoreApplication.translate(
         "NamingStyleChecker", "function name should not start and end with '__'"
     ),
-    "N811": QCoreApplication.translate(
+    "N-811": QCoreApplication.translate(
         "NamingStyleChecker", "constant imported as non constant"
     ),
-    "N812": QCoreApplication.translate(
+    "N-812": QCoreApplication.translate(
         "NamingStyleChecker", "lowercase imported as non lowercase"
     ),
-    "N813": QCoreApplication.translate(
+    "N-813": QCoreApplication.translate(
         "NamingStyleChecker", "camelcase imported as lowercase"
     ),
-    "N814": QCoreApplication.translate(
+    "N-814": QCoreApplication.translate(
         "NamingStyleChecker", "camelcase imported as constant"
     ),
-    "N815": QCoreApplication.translate(
+    "N-815": QCoreApplication.translate(
         "NamingStyleChecker", "camelcase imported as acronym"
     ),
-    "N818": QCoreApplication.translate(
+    "N-818": QCoreApplication.translate(
         "NamingStyleChecker", "exception name should be named with an 'Error' suffix"
     ),
-    "N821": QCoreApplication.translate(
+    "N-821": QCoreApplication.translate(
         "NamingStyleChecker", "variable in function should be lowercase"
     ),
-    "N822": QCoreApplication.translate(
+    "N-822": QCoreApplication.translate(
         "NamingStyleChecker", "variable in class scope should not be mixed case"
     ),
-    "N823": QCoreApplication.translate(
+    "N-823": QCoreApplication.translate(
         "NamingStyleChecker", "variable in global scope should not be mixed case"
     ),
-    "N831": QCoreApplication.translate(
+    "N-831": QCoreApplication.translate(
         "NamingStyleChecker", "names 'l', 'O' and 'I' should be avoided"
     ),
 }

eric ide

mercurial