Report all the errors found by flake8 3.0. This also updates the :attr:`result_count` attribute with the total number of errors, warnings, and other messages found.
(self)
| 131 | self.formatter.show_benchmarks(statistics) |
| 132 | |
| 133 | def report_errors(self) -> None: |
| 134 | """Report all the errors found by flake8 3.0. |
| 135 | |
| 136 | This also updates the :attr:`result_count` attribute with the total |
| 137 | number of errors, warnings, and other messages found. |
| 138 | """ |
| 139 | LOG.info("Reporting errors") |
| 140 | assert self.file_checker_manager is not None |
| 141 | results = self.file_checker_manager.report() |
| 142 | self.total_result_count, self.result_count = results |
| 143 | LOG.info( |
| 144 | "Found a total of %d violations and reported %d", |
| 145 | self.total_result_count, |
| 146 | self.result_count, |
| 147 | ) |
| 148 | |
| 149 | def report_statistics(self) -> None: |
| 150 | """Aggregate and report statistics from this run.""" |
no test coverage detected