Clarify placeholder utils and clean imports

This commit is contained in:
thePR0M3TH3AN
2025-08-08 15:47:52 -04:00
parent c1a018e484
commit 199d02ab72
13 changed files with 8 additions and 18 deletions

View File

@@ -15,7 +15,6 @@ import logging
import sys
import os
import json
import traceback
from typing import Optional, Any
from termcolor import colored

View File

@@ -32,5 +32,5 @@ def color_text(text: str, category: str = "default") -> str:
color = _COLOR_MAP.get(category, "white")
if color == "orange":
return _apply_orange(text)
attrs = ["bold"] if category in {"info", "warning", "error"} else None
attrs = ["bold"] if category in {"info", "warning", "error"} else []
return colored(text, color, attrs=attrs)

View File

@@ -10,7 +10,6 @@ facilitating organized and secure storage.
import hashlib
import logging
import traceback
from typing import Optional
# Instantiate the logger

View File

@@ -3,7 +3,6 @@
import os
import json
import logging
import traceback
from pathlib import Path
from typing import Callable, List, Optional

View File

@@ -19,7 +19,6 @@ import hashlib
import base64
import unicodedata
import logging
import traceback
import hmac
import time
from enum import Enum