From ded723ba8317cacfb836f5e20c19b297c0df3801 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 06:13:33 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/ol_openedx_chat/block.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ol_openedx_chat/block.py b/src/ol_openedx_chat/block.py index 11ecff33..1c48f31e 100644 --- a/src/ol_openedx_chat/block.py +++ b/src/ol_openedx_chat/block.py @@ -1,8 +1,8 @@ import pkg_resources from django.template import Context, Template from web_fragments.fragment import Fragment -from xblock.core import XBlockAside, XBlock from webob.response import Response +from xblock.core import XBlock, XBlockAside BLOCK_PROBLEM_CATEGORY = "problem" MULTIPLE_CHOICE_TYPE = "multiplechoiceresponse" @@ -55,7 +55,11 @@ def mock_handler(self, request=None, suffix=None): print(request.POST) print(suffix) print("\n\n\n") - return Response(json_body={"message": "Hello, This your MIT Teaching Assistant. (A Server message)"}) + return Response( + json_body={ + "message": "Hello, This your MIT Teaching Assistant. (A Server message)" + } + ) @XBlockAside.aside_for("author_view") def author_view_aside(self, block, context=None): # noqa: ARG002