fix: add formatter modules
Some checks failed
CI / build (push) Has been cancelled
CI / test (push) Has been cancelled

This commit is contained in:
2026-02-01 08:21:00 +00:00
parent 85460adb80
commit 43262e168f

View File

@@ -3,10 +3,9 @@ from typing import Any
class BaseFormatter(ABC):
"""Base formatter interface."""
"""Base class for formatters."""
@staticmethod
@abstractmethod
def format(data: Any) -> str:
def format(self, data: Any) -> str:
"""Format data to string."""
pass