fix version checking

This commit is contained in:
hiyouga
2024-03-06 14:51:51 +08:00
parent d1587c80de
commit 3016e65657
18 changed files with 49 additions and 33 deletions

View File

@@ -75,8 +75,7 @@ class Formatter(ABC):
tool_format: Literal["default"] = "default"
@abstractmethod
def apply(self, **kwargs) -> SLOTS:
...
def apply(self, **kwargs) -> SLOTS: ...
def extract(self, content: str) -> Union[str, Tuple[str, str]]:
raise NotImplementedError