MCPcopy
hub / github.com/nikopueringer/CorridorKey / _configure_environment

Function _configure_environment

corridorkey_cli.py:78–87  ·  view source on GitHub ↗

Set up logging and warnings for interactive CLI use.

()

Source from the content-addressed store, hash-verified

76
77
78def _configure_environment() -> None:
79 """Set up logging and warnings for interactive CLI use."""
80 warnings.filterwarnings("ignore", category=FutureWarning)
81 warnings.filterwarnings("ignore", category=UserWarning, module="torch")
82 logging.basicConfig(
83 level=logging.INFO,
84 format="%(message)s",
85 datefmt="[%X]",
86 handlers=[RichHandler(console=console, rich_tracebacks=True)],
87 )
88
89
90# ---------------------------------------------------------------------------

Callers 1

app_callbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected