src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py

branch
server
changeset 10580
b84587f848c7
parent 10439
21c28b0f9e41
child 10594
6156d9675f62
--- 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
 

eric ide

mercurial