src/eric7/Plugins/PluginCodeStyleChecker.py

branch
eric7
changeset 10859
399d19fc7eb5
parent 10836
dc7f25f2f7e4
child 11090
f5f5f5803935
diff -r 8a03d5f6146c -r 399d19fc7eb5 src/eric7/Plugins/PluginCodeStyleChecker.py
--- a/src/eric7/Plugins/PluginCodeStyleChecker.py	Mon Jul 22 16:54:49 2024 +0200
+++ b/src/eric7/Plugins/PluginCodeStyleChecker.py	Mon Jul 22 17:07:46 2024 +0200
@@ -173,9 +173,8 @@
         @type list of (str, str, bool, str, str, bool, int, list of (int, int),
             bool, str, dict, dict, list of str, str, str, bool)
         """
-        if (
-            (lang is None and PythonUtilities.isPythonSource(filename, source))
-            or (lang is not None and lang == "Python3")
+        if (lang is None and PythonUtilities.isPythonSource(filename, source)) or (
+            lang is not None and lang == "Python3"
         ):
             data = [source, args]
             self.backgroundService.enqueueRequest("style", "Python3", filename, data)

eric ide

mercurial