s/pylint: disable=R0924/pylint: disable=incomplete-protocol/
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
"""
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user