From 0a8a771c96b799ca8ce22c3705ef7606801ff437 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 3 Aug 2023 17:23:39 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- packages/jupyter-ai/jupyter_ai/handlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/jupyter-ai/jupyter_ai/handlers.py b/packages/jupyter-ai/jupyter_ai/handlers.py index 4d6d331e9..8be21735f 100644 --- a/packages/jupyter-ai/jupyter_ai/handlers.py +++ b/packages/jupyter-ai/jupyter_ai/handlers.py @@ -115,14 +115,14 @@ def get_chat_user(self) -> ChatUser: ) login = getpass.getuser() - initials=login[0].capitalize() + initials = login[0].capitalize() if collaborative: chat_user_kwargs = { # set in case IdentityProvider doesn't return initials, e.g. # JupyterHub (#302) "initials": initials, - **asdict(self.current_user) + **asdict(self.current_user), } return ChatUser(**chat_user_kwargs)