--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Fri Feb 16 16:54:19 2024 +0100 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Fri Feb 16 19:59:12 2024 +0100 @@ -465,7 +465,8 @@ max_doc_length=maxDocLineLength, hang_closing=hangClosing, ) - report = styleGuide.check_files([filename]) + report = styleGuide.options.report + styleGuide.input_file(filename, lines=source) stats.update(report.counters) errors = report.errors