From 824a5acfbfea5aa3ecbbe72c1bda0785b4349aee Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Fri, 30 Jan 2026 20:35:26 +0000 Subject: [PATCH] Initial upload: git-insights-cli with CI/CD workflow --- src/formatters/base.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/formatters/base.py diff --git a/src/formatters/base.py b/src/formatters/base.py new file mode 100644 index 0000000..e86284f --- /dev/null +++ b/src/formatters/base.py @@ -0,0 +1,11 @@ +from abc import ABC, abstractmethod +from typing import Any + + +class BaseFormatter(ABC): + """Base class for formatters.""" + + @abstractmethod + def format(self, data: Any) -> str: + """Format data to string.""" + pass