src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Logging/LoggingVisitor.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11147
dee6e106b4d3
child 11150
73d80859079c
diff -r dee6e106b4d3 -r 15e30f0c76a8 src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Logging/LoggingVisitor.py
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Logging/LoggingVisitor.py	Mon Feb 24 15:11:18 2025 +0100
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Logging/LoggingVisitor.py	Mon Feb 24 15:43:49 2025 +0100
@@ -75,9 +75,9 @@
     # https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting
     return re.compile(
         r"""
-            %  # noqa: M601
+            %  # noqa: M-601
             (?P<spec>
-                % |  # raw % character  # noqa: M601
+                % |  # raw % character  # noqa: M-601
                 (?:
                     ([-#0 +]+)?  # conversion flags
                     (?P<minwidth>\d+|\*)?  # minimum field width
@@ -103,7 +103,7 @@
     # https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting
     return re.compile(
         r"""
-            %  # noqa: M601
+            %  # noqa: M-601
             \(
                 (?P<name>.*?)
             \)
@@ -472,7 +472,7 @@
                 msgArg.col_offset,
                 "L-112",
                 modposCount,
-                "'%'",  # noqa: M601
+                "'%'",  # noqa: M-601
                 argCount,
             )
             return

eric ide

mercurial