From e45994b2ef18d6ae27a885495be489ed04988527 Mon Sep 17 00:00:00 2001 From: Sarina Canelake Date: Sun, 30 Nov 2014 01:43:25 -0500 Subject: [PATCH] s/pylint: disable=R0924/pylint: disable=incomplete-protocol/ --- lms/djangoapps/bulk_email/forms.py | 4 ++-- lms/djangoapps/dashboard/models.py | 2 +- lms/djangoapps/dashboard/support.py | 2 +- lms/djangoapps/survey/admin.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lms/djangoapps/bulk_email/forms.py b/lms/djangoapps/bulk_email/forms.py index 3556b274c0..49fb840560 100644 --- a/lms/djangoapps/bulk_email/forms.py +++ b/lms/djangoapps/bulk_email/forms.py @@ -17,7 +17,7 @@ from opaque_keys.edx.locations import SlashSeparatedCourseKey log = logging.getLogger(__name__) -class CourseEmailTemplateForm(forms.ModelForm): # pylint: disable=R0924 +class CourseEmailTemplateForm(forms.ModelForm): # pylint: disable=incomplete-protocol """Form providing validation of CourseEmail templates.""" name = forms.CharField(required=False) @@ -73,7 +73,7 @@ class CourseEmailTemplateForm(forms.ModelForm): # pylint: disable=R0924 return name -class CourseAuthorizationAdminForm(forms.ModelForm): # pylint: disable=R0924 +class CourseAuthorizationAdminForm(forms.ModelForm): # pylint: disable=incomplete-protocol """Input form for email enabling, allowing us to verify data.""" class Meta: # pylint: disable=missing-docstring diff --git a/lms/djangoapps/dashboard/models.py b/lms/djangoapps/dashboard/models.py index 988214287d..2fa3e17678 100644 --- a/lms/djangoapps/dashboard/models.py +++ b/lms/djangoapps/dashboard/models.py @@ -6,7 +6,7 @@ from xmodule.modulestore.mongoengine_fields import CourseKeyField class CourseImportLog(mongoengine.Document): """Mongoengine model for git log""" - # pylint: disable=R0924 + # pylint: disable=incomplete-protocol course_id = CourseKeyField(max_length=128) # NOTE: this location is not a Location object but a pathname diff --git a/lms/djangoapps/dashboard/support.py b/lms/djangoapps/dashboard/support.py index 7ec4cb6628..02fcf6d4cd 100644 --- a/lms/djangoapps/dashboard/support.py +++ b/lms/djangoapps/dashboard/support.py @@ -18,7 +18,7 @@ from opaque_keys.edx.locations import SlashSeparatedCourseKey log = logging.getLogger(__name__) -class RefundForm(forms.Form): # pylint: disable=R0924 +class RefundForm(forms.Form): # pylint: disable=incomplete-protocol """ Form for manual refunds """ diff --git a/lms/djangoapps/survey/admin.py b/lms/djangoapps/survey/admin.py index 45f30e89e3..26b0cfd71b 100644 --- a/lms/djangoapps/survey/admin.py +++ b/lms/djangoapps/survey/admin.py @@ -7,7 +7,7 @@ from django.contrib import admin from survey.models import SurveyForm -class SurveyFormAdminForm(forms.ModelForm): # pylint: disable=R0924 +class SurveyFormAdminForm(forms.ModelForm): # pylint: disable=incomplete-protocol """Form providing validation of SurveyForm content.""" class Meta: # pylint: disable=missing-docstring