Return the module with a blocking error, or None if not possible.
(self)
| 975 | return bool(self.has_blockers) |
| 976 | |
| 977 | def blocker_module(self) -> str | None: |
| 978 | """Return the module with a blocking error, or None if not possible.""" |
| 979 | for path in self.has_blockers: |
| 980 | for err in self.error_info_map[path]: |
| 981 | if err.blocker: |
| 982 | return err.module |
| 983 | return None |
| 984 | |
| 985 | def is_errors_for_file(self, file: str) -> bool: |
| 986 | """Are there any errors for the given file?""" |