(self)
| 837 | self.note_for_info(file, info, message, info.code, only_once=True, priority=20) |
| 838 | |
| 839 | def has_many_errors(self) -> bool: |
| 840 | if self.options.many_errors_threshold < 0: |
| 841 | return False |
| 842 | if len(self.error_info_map) >= self.options.many_errors_threshold: |
| 843 | return True |
| 844 | if ( |
| 845 | sum(len(errors) for errors in self.error_info_map.values()) |
| 846 | >= self.options.many_errors_threshold |
| 847 | ): |
| 848 | return True |
| 849 | return False |
| 850 | |
| 851 | def report_hidden_errors(self, file: str, info: ErrorInfo) -> None: |
| 852 | message = ( |
no test coverage detected