(self, document: TOMLDocument)
| 29 | return Path() / self.lock_filename |
| 30 | |
| 31 | def get(self, document: TOMLDocument) -> str: |
| 32 | out = _try_get_workspace(document)["package"]["version"] |
| 33 | if TYPE_CHECKING: |
| 34 | assert isinstance(out, str) |
| 35 | return out |
| 36 | |
| 37 | def set(self, document: TOMLDocument, version: str) -> None: |
| 38 | _try_get_workspace(document)["package"]["version"] = version |
no test coverage detected