src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/PathlibChecker.py

branch
eric7
changeset 11145
d328a7b74fd8
parent 11142
2f0fb22c1d63
child 11147
dee6e106b4d3
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/PathlibChecker.py	Sat Feb 22 18:04:39 2025 +0100
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/PathlibChecker.py	Sat Feb 22 18:06:26 2025 +0100
@@ -156,9 +156,8 @@
         @return flag indicating to ignore the given code
         @rtype bool
         """
-        return (
-            code in self.__ignore
-            or (code.startswith(self.__ignore) and not code.startswith(self.__select))
+        return code in self.__ignore or (
+            code.startswith(self.__ignore) and not code.startswith(self.__select)
         )
 
     def __error(self, lineNumber, offset, code, *args):

eric ide

mercurial