(self, data: WriteBuffer)
| 592 | return tree |
| 593 | |
| 594 | def write(self, data: WriteBuffer) -> None: |
| 595 | write_tag(data, MYPY_FILE) |
| 596 | write_str(data, self._fullname) |
| 597 | self.names.write(data, self._fullname) |
| 598 | write_bool(data, self.is_stub) |
| 599 | write_str(data, self.path) |
| 600 | write_bool(data, self.is_partial_stub_package) |
| 601 | write_str_list(data, sorted(self.future_import_flags)) |
| 602 | write_tag(data, END_TAG) |
| 603 | |
| 604 | @classmethod |
| 605 | def read(cls, data: ReadBuffer) -> MypyFile: |
nothing calls this directly
no test coverage detected