feat: add documentation functions (#1831)

* feat: add docstring

* feat: add new docstring

* fix: linting

---------

Co-authored-by: João Moura <joaomdmoura@gmail.com>
This commit is contained in:
Marco Vinciguerra
2025-01-03 00:42:08 +01:00
committed by GitHub
parent 845951a0db
commit bfe2c44f55
10 changed files with 39 additions and 2 deletions

View File

@@ -1,7 +1,11 @@
"""Utility for colored console output."""
from typing import Optional
class Printer:
"""Handles colored console output formatting."""
def print(self, content: str, color: Optional[str] = None):
if color == "purple":
self._print_purple(content)