Fixed a code style issue. eric7

Sat, 04 Dec 2021 19:36:44 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 04 Dec 2021 19:36:44 +0100
branch
eric7
changeset 8811
9ff6b1b5f601
parent 8810
f7df47b32285
child 8812
01775e32d80b

Fixed a code style issue.

eric7/Plugins/CheckerPlugins/CodeStyleChecker/Imports/ImportsChecker.py file | annotate | diff | comparison | revisions
--- a/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Imports/ImportsChecker.py	Sat Dec 04 18:43:26 2021 +0100
+++ b/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Imports/ImportsChecker.py	Sat Dec 04 19:36:44 2021 +0100
@@ -343,8 +343,8 @@
         if not self.__ignoreCode("I901"):
             ruleMethods.append(self.__checkUnnecessaryAlias)
         if (
-            not self.__ignoreCode("I902")
-            and bool(self.__bannedModules)
+            not self.__ignoreCode("I902") and
+            bool(self.__bannedModules)
         ):
             ruleMethods.append(self.__checkBannedImport)
         if (

eric ide

mercurial