From fac3f882c8936d93531e66eb3f4504b95ff12ef9 Mon Sep 17 00:00:00 2001 From: nsprenkle Date: Mon, 24 Jun 2024 11:55:36 -0400 Subject: [PATCH] chore: disable too-many-statements --- lms/djangoapps/courseware/views/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/courseware/views/views.py b/lms/djangoapps/courseware/views/views.py index b32435e6d0c6..95af0cf75f06 100644 --- a/lms/djangoapps/courseware/views/views.py +++ b/lms/djangoapps/courseware/views/views.py @@ -1533,7 +1533,7 @@ def _check_sequence_exam_access(request, location): @xframe_options_exempt @transaction.non_atomic_requests @ensure_csrf_cookie -def render_xblock(request, usage_key_string, check_if_enrolled=True, disable_staff_debug_info=False): +def render_xblock(request, usage_key_string, check_if_enrolled=True, disable_staff_debug_info=False): # pylint: disable=too-many-statements """ Returns an HttpResponse with HTML content for the xBlock with the given usage_key. The returned HTML is a chromeless rendering of the xBlock (excluding content of the containing courseware).