Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 22, 2024
1 parent 09f8a7d commit ded723b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/ol_openedx_chat/block.py
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ded723b

Please sign in to comment.