fix version checking

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

No files matched your search

+1 -2
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