Fail with a serious error.
(msg: str, stderr: TextIO, options: Options)
| 1714 | |
| 1715 | |
| 1716 | def fail(msg: str, stderr: TextIO, options: Options) -> NoReturn: |
| 1717 | """Fail with a serious error.""" |
| 1718 | stderr.write(f"{msg}\n") |
| 1719 | maybe_write_junit_xml( |
| 1720 | 0.0, serious=True, all_messages=[msg], messages_by_file={None: [msg]}, options=options |
| 1721 | ) |
| 1722 | sys.exit(2) |
| 1723 | |
| 1724 | |
| 1725 | def read_types_packages_to_install(cache_dir: str, after_run: bool) -> list[str]: |
no test coverage detected
searching dependent graphs…