callisto_core/reporting/report_delivery.py
File report_delivery.py
has 402 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import json
import logging
import os
from collections import OrderedDict
from io import BytesIO
Function set_up_styles
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def set_up_styles(self, *args, **kwargs):
"""
Helper formatting methods assume the following styles have been defined:
* Normal: format_question, get_metadata_page
* Notes: get_metadata_page
Function __init__
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(