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

branch
eric7
changeset 11150
73d80859079c
parent 11090
f5f5f5803935
diff -r fc45672fae42 -r 73d80859079c src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Async/translations.py
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Async/translations.py	Thu Feb 27 09:22:15 2025 +0100
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Async/translations.py	Thu Feb 27 14:42:39 2025 +0100
@@ -11,25 +11,25 @@
 from PyQt6.QtCore import QCoreApplication
 
 _asyncMessages = {
-    "ASY100": QCoreApplication.translate(
+    "ASY-100": QCoreApplication.translate(
         "AsyncChecker", "sync HTTP call in async function, use httpx.AsyncClient"
     ),
-    "ASY101": QCoreApplication.translate(
+    "ASY-101": QCoreApplication.translate(
         "AsyncChecker", "blocking sync call in async function, use framework equivalent"
     ),
-    "ASY102": QCoreApplication.translate(
+    "ASY-102": QCoreApplication.translate(
         "AsyncChecker", "sync process call in async function, use framework equivalent"
     ),
-    "ASY103": QCoreApplication.translate(
+    "ASY-103": QCoreApplication.translate(
         "AsyncChecker",
         "blocking sync context manager in async function,"
         " use 'async with' statement",
     ),
-    "ASY104": QCoreApplication.translate(
+    "ASY-104": QCoreApplication.translate(
         "AsyncChecker",
         "avoid using os.path, prefer using 'trio.Path' or 'anyio.Path' objects",
     ),
-    "ASY105": QCoreApplication.translate(
+    "ASY-105": QCoreApplication.translate(
         "AsyncChecker",
         "use of potentially dangerous class in async function, use"
         " httpx.AsyncClient",

eric ide

mercurial