--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/flaskDebug.py Sun Apr 11 16:53:48 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/flaskDebug.py Sun Apr 11 18:45:10 2021 +0200 @@ -42,13 +42,15 @@ @param config dictionary with configuration data @type dict """ - if context.isModuleImportedLike('flask'): - if context.callFunctionNameQual.endswith('.run'): - if context.checkCallArgValue('debug', 'True'): - reportError( - context.node.lineno - 1, - context.node.col_offset, - "S201", - "L", - "M" - ) + if ( + context.isModuleImportedLike('flask') and + context.callFunctionNameQual.endswith('.run') and + context.checkCallArgValue('debug', 'True') + ): + reportError( + context.node.lineno - 1, + context.node.col_offset, + "S201", + "L", + "M" + )