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

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10437
2f70ca07f0af
diff -r 7febcdccb2a1 -r 435cc5875135 src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Naming/NamingStyleChecker.py
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Naming/NamingStyleChecker.py	Thu May 25 11:12:05 2023 +0200
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Naming/NamingStyleChecker.py	Thu May 25 19:51:47 2023 +0200
@@ -255,7 +255,7 @@
         """
         return name in ("l", "O", "I")
 
-    def __checkNameToBeAvoided(self, node, parents):
+    def __checkNameToBeAvoided(self, node, parents):  # noqa: U100
         """
         Private class to check the given node for a name to be avoided (N831).
 
@@ -360,7 +360,7 @@
         if "Exception" in superClasses and not name.endswith("Error"):
             yield self.__error(node, "N818")
 
-    def __checkFunctionName(self, node, parents):
+    def __checkFunctionName(self, node, parents):  # noqa: U100
         """
         Private class to check the given node for function name
         conventions (N802, N809).
@@ -387,7 +387,7 @@
         if functionType == "function" and name[:2] == "__" and name[-2:] == "__":
             yield self.__error(node, "N809")
 
-    def __checkFunctionArgumentNames(self, node, parents):
+    def __checkFunctionArgumentNames(self, node, parents):  # noqa: U100
         """
         Private class to check the argument names of functions
         (N803, N804, N805, N806).
@@ -595,7 +595,7 @@
             )
         )
 
-    def __checkModule(self, node, parents):
+    def __checkModule(self, node, parents):  # noqa: U100
         """
         Private method to check module naming conventions (N807, N808).
 
@@ -617,7 +617,7 @@
                 if packageName.lower() != packageName:
                     yield self.__error(node, "N808")
 
-    def __checkImportAs(self, node, parents):
+    def __checkImportAs(self, node, parents):  # noqa: U100
         """
         Private method to check that imports don't change the
         naming convention (N811, N812, N813, N814, N815).

eric ide

mercurial