Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Mar 5, 2025
1 parent 50a30a2 commit 98dc5c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions click_extra/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@ def extraBasicConfig(
encoding: str | None = None,
errors: str | None = "backslashreplace",
# New arguments specific to this function:
stream_handler_class: type[THandler] = ( # type: ignore[assignment]
stream_handler_class: type[THandler] = (
# XXX This funky code format is a workaround for autopep8 unstable long-line
# wrapping.
ExtraStreamHandler
ExtraStreamHandler # type: ignore[assignment]
),
file_handler_class: type[THandler] = FileHandler, # type: ignore[assignment]
formatter_class: type[TFormatter] = ExtraFormatter, # type: ignore[assignment]
Expand Down

0 comments on commit 98dc5c8

Please sign in to comment.