Skip to content

Commit

Permalink
refactor: Switch to an info level log for when black's not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
FasterSpeeding authored and pawamoy committed May 3, 2023
1 parent e2b820c commit f593bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mkdocstrings_handlers/python/rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def _get_black_formatter() -> Callable[[str, int], str]:
try:
from black import Mode, format_str
except ModuleNotFoundError:
logger.warning("Formatting signatures requires Black to be installed.")
logger.info("Formatting signatures requires Black to be installed.")
return lambda text, _: text

def formatter(code: str, line_length: int) -> str:
Expand Down

0 comments on commit f593bb0

Please sign in to comment.