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

branch
eric7
changeset 10356
09c698245a5c
parent 10192
f457742dd3d6
child 10359
de0420dac60e
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py	Wed Nov 29 14:31:31 2023 +0100
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/translations.py	Wed Nov 29 14:31:50 2023 +0100
@@ -418,6 +418,10 @@
         "re.{0} should get '{1}' and 'flags' passed as keyword arguments to avoid"
         " confusion due to unintuitive argument positions.",
     ),
+    "M535": QCoreApplication.translate(
+        "MiscellaneousChecker",
+        "Static key in dict comprehension: {0!r}."
+    ),
     ## Bugbear++
     "M581": QCoreApplication.translate("MiscellaneousChecker", "unncessary f-string"),
     "M582": QCoreApplication.translate(
@@ -570,6 +574,7 @@
     "M527": ["foo"],
     "M533": ["foo"],
     "M534": ["split", "maxsplit"],
+    "M535": ["foo"],
     "M601": ["%s"],
     "M621": [5],
     "M622": ["foo"],

eric ide

mercurial