Initial upload: git-insights-cli with CI/CD workflow
This commit is contained in:
11
src/formatters/base.py
Normal file
11
src/formatters/base.py
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user