(self)
| 690 | self.log_file = _loggers.get_log_directory() / "ty-lsp.log" |
| 691 | |
| 692 | async def start(self) -> AlertNotification | None: |
| 693 | # ty is not required, so we don't want to alert or fail if it is not installed |
| 694 | if not DependencyManager.ty.has(): |
| 695 | LOGGER.debug("ty is not installed. Skipping LSP server.") |
| 696 | return None |
| 697 | return await super().start() |
| 698 | |
| 699 | def validate_requirements(self) -> str | Literal[True]: |
| 700 | if not DependencyManager.ty.has(): |
no test coverage detected