Skip to content

Commit

Permalink
Ignore type hinting for optional import
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkram committed Aug 28, 2024
1 parent 149bb43 commit dd38dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binstar_client/utils/logging_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def format(self, record: logging.LogRecord) -> str:
try:
from rich.logging import RichHandler
except (ImportError, ModuleNotFoundError):
RichHandler = None
RichHandler = None # type: ignore


def _purge_rich_handler_from_logging_root() -> None:
Expand Down

0 comments on commit dd38dd2

Please sign in to comment.