Sat, 04 Dec 2021 19:36:44 +0100
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 (