diff --git a/litellm/proxy/common_utils/banner.py b/litellm/proxy/common_utils/banner.py index 4636ee9aa3f..dd203352b05 100644 --- a/litellm/proxy/common_utils/banner.py +++ b/litellm/proxy/common_utils/banner.py @@ -18,4 +18,9 @@ def show_banner(): except ImportError: print("\n") # noqa: T201 except UnicodeEncodeError: - print("\n LiteLLM\n") # noqa: T201 + # Reaching here means the import succeeded and only the encode failed, so `click` is + # bound and is the same channel the banner just went out on. Using it rather than + # `print` keeps the line free of a T201 suppression, which the two ruff configs + # disagree about: ruff.toml enables T20 and needs one, ruff-strict.toml does not + # enable it and counts one as dead under RUF100. + click.echo("\n LiteLLM\n")