Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffxy committed Nov 24, 2024
1 parent 9f0f825 commit edf8aab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/conductor/utils/logging.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import logging
from typing import Optional
from typing import Any, Dict, Optional

VERBOSE = 5

Expand All @@ -11,7 +11,7 @@ def log_verbose(logger: logging.Logger, message: str, *args) -> None:
def set_up_logging(
filename: Optional[str] = None, debug_mode: bool = False, also_console: bool = False
) -> None:
logging_kwargs = {
logging_kwargs: Dict[str, Any] = {
"format": "%(asctime)s %(levelname)-8s %(message)s",
"datefmt": "%Y-%m-%d %H:%M",
"level": logging.DEBUG if debug_mode else logging.INFO,
Expand Down

0 comments on commit edf8aab

Please sign in to comment.