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

branch
eric7
changeset 11147
dee6e106b4d3
parent 11090
f5f5f5803935
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Complexity/translations.py	Sun Feb 23 12:42:47 2025 +0100
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Complexity/translations.py	Mon Feb 24 15:11:18 2025 +0100
@@ -12,19 +12,19 @@
 from PyQt6.QtCore import QCoreApplication
 
 _complexityMessages = {
-    "C101": QCoreApplication.translate(
+    "C-101": QCoreApplication.translate(
         "ComplexityChecker", "'{0}' is too complex ({1})"
     ),
-    "C111": QCoreApplication.translate(
+    "C-111": QCoreApplication.translate(
         "ComplexityChecker", "source code line is too complex ({0})"
     ),
-    "C112": QCoreApplication.translate(
+    "C-112": QCoreApplication.translate(
         "ComplexityChecker", "overall source code line complexity is too high ({0})"
     ),
 }
 
 _complexityMessagesSampleArgs = {
-    "C101": ["foo.bar", "42"],
-    "C111": [42],
-    "C112": [12.0],
+    "C-101": ["foo.bar", "42"],
+    "C-111": [42],
+    "C-112": [12.0],
 }

eric ide

mercurial