Letme/django-mailchimp-amp

View on GitHub

Showing 1 of 1 total issue

Function mailchimp_proxy_view has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring.
Confirmed

def mailchimp_proxy_view(request):
'''
We want to bypass the undefined CORS policy on the MailChimp servers, so
this is a proxy view which does that
'''
Severity: Minor
Found in django_mailchimp_amp/views.py - About 1 hr to fix
Severity
Category
Status
Source
Language