data_capture/email.py

Summary

Maintainability
A
2 hrs
Test Coverage
A
96%

File email.py has 261 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import re
from functools import wraps
from django.core.mail import EmailMultiAlternatives, get_connection
from django.utils.html import strip_tags
from django.utils import timezone
Severity: Minor
Found in data_capture/email.py - About 2 hrs to fix

    Function send_mail has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    def send_mail(subject, to, template, ctx, reply_to=None):
    Severity: Minor
    Found in data_capture/email.py - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status