Commit e0f1d3f3 by Sarina Canelake

s/pylint: disable=C0111/pylint: disable=missing-docstring/

parent 0dad9da5
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
import os import os
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
# Lettuce formats proposed definitions for unimplemented steps with the # Lettuce formats proposed definitions for unimplemented steps with the
......
# disable missing docstring # disable missing docstring
# pylint: disable=C0111 # pylint: disable=missing-docstring
from lettuce import world from lettuce import world
from nose.tools import assert_equal, assert_in # pylint: disable=E0611 from nose.tools import assert_equal, assert_in # pylint: disable=E0611
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
# pylint: disable=W0613 # pylint: disable=W0613
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
# pylint: disable=W0613 # pylint: disable=W0613
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# disable missing docstring # disable missing docstring
# pylint: disable=C0111 # pylint: disable=missing-docstring
from lettuce import world, step from lettuce import world, step
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
# pylint: disable=W0613 # pylint: disable=W0613
......
# disable missing docstring # disable missing docstring
# pylint: disable=C0111 # pylint: disable=missing-docstring
from collections import OrderedDict from collections import OrderedDict
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
# pylint: disable=W0613 # pylint: disable=W0613
......
# disable missing docstring # disable missing docstring
# pylint: disable=C0111 # pylint: disable=missing-docstring
import json import json
from lettuce import world, step from lettuce import world, step
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# disable missing docstring # disable missing docstring
# pylint: disable=C0111 # pylint: disable=missing-docstring
import os import os
from lettuce import world, step from lettuce import world, step
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# disable missing docstring # disable missing docstring
# pylint: disable=C0111 # pylint: disable=missing-docstring
import requests import requests
from lettuce import world, step from lettuce import world, step
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# disable missing docstring # disable missing docstring
# pylint: disable=C0111 # pylint: disable=missing-docstring
from lettuce import world, step from lettuce import world, step
from nose.tools import assert_true # pylint: disable=E0611 from nose.tools import assert_true # pylint: disable=E0611
......
# pylint: disable=C0111,W0613 # pylint: disable=missing-docstring,W0613
from django.http import (HttpResponse, HttpResponseServerError, from django.http import (HttpResponse, HttpResponseServerError,
HttpResponseNotFound) HttpResponseNotFound)
......
...@@ -60,7 +60,7 @@ class CourseEnrollmentSerializer(serializers.ModelSerializer): ...@@ -60,7 +60,7 @@ class CourseEnrollmentSerializer(serializers.ModelSerializer):
"""Retrieves the username from the associated model.""" """Retrieves the username from the associated model."""
return model.username return model.username
class Meta: # pylint: disable=C0111 class Meta: # pylint: disable=missing-docstring
model = CourseEnrollment model = CourseEnrollment
fields = ('created', 'mode', 'is_active', 'course', 'student') fields = ('created', 'mode', 'is_active', 'course', 'student')
lookup_field = 'username' lookup_field = 'username'
......
...@@ -13,7 +13,7 @@ from pytz import UTC ...@@ -13,7 +13,7 @@ from pytz import UTC
from opaque_keys.edx.locations import SlashSeparatedCourseKey from opaque_keys.edx.locations import SlashSeparatedCourseKey
# Factories don't have __init__ methods, and are self documenting # Factories don't have __init__ methods, and are self documenting
# pylint: disable=W0232, C0111 # pylint: disable=W0232, missing-docstring
class GroupFactory(DjangoModelFactory): class GroupFactory(DjangoModelFactory):
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
import urllib import urllib
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
# Disable the "wildcard import" warning so we can bring in all methods from # Disable the "wildcard import" warning so we can bring in all methods from
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world from lettuce import world
......
...@@ -7,7 +7,7 @@ from opaque_keys.edx.locations import SlashSeparatedCourseKey ...@@ -7,7 +7,7 @@ from opaque_keys.edx.locations import SlashSeparatedCourseKey
# Factories don't have __init__ methods, and are self documenting # Factories don't have __init__ methods, and are self documenting
# pylint: disable=W0232, C0111 # pylint: disable=W0232, missing-docstring
class UserPreferenceFactory(DjangoModelFactory): class UserPreferenceFactory(DjangoModelFactory):
FACTORY_FOR = UserPreference FACTORY_FOR = UserPreference
......
...@@ -6,7 +6,7 @@ import factory ...@@ -6,7 +6,7 @@ import factory
from factory.helpers import lazy_attribute from factory.helpers import lazy_attribute
from opaque_keys.edx.keys import UsageKey from opaque_keys.edx.keys import UsageKey
# Factories don't have __init__ methods, and are self documenting # Factories don't have __init__ methods, and are self documenting
# pylint: disable=W0232, C0111 # pylint: disable=W0232, missing-docstring
class SplitFactory(factory.Factory): class SplitFactory(factory.Factory):
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
""" """
Tests of the Capa XModule Tests of the Capa XModule
""" """
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=R0904 # pylint: disable=R0904
# pylint: disable=C0103 # pylint: disable=C0103
# pylint: disable=C0302 # pylint: disable=C0302
......
# disable missing docstring # disable missing docstring
# pylint: disable=C0111 # pylint: disable=missing-docstring
import unittest import unittest
......
...@@ -19,19 +19,19 @@ from xmodule.contentstore.django import contentstore ...@@ -19,19 +19,19 @@ from xmodule.contentstore.django import contentstore
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
class TranscriptException(Exception): # pylint disable=C0111 class TranscriptException(Exception): # pylint: disable=missing-docstring
pass pass
class TranscriptsGenerationException(Exception): # pylint disable=C0111 class TranscriptsGenerationException(Exception): # pylint: disable=missing-docstring
pass pass
class GetTranscriptsFromYouTubeException(Exception): # pylint disable=C0111 class GetTranscriptsFromYouTubeException(Exception): # pylint: disable=missing-docstring
pass pass
class TranscriptsRequestValidationException(Exception): # pylint disable=C0111 class TranscriptsRequestValidationException(Exception): # pylint: disable=missing-docstring
pass pass
......
...@@ -22,7 +22,7 @@ class CourseEmailTemplateForm(forms.ModelForm): # pylint: disable=R0924 ...@@ -22,7 +22,7 @@ class CourseEmailTemplateForm(forms.ModelForm): # pylint: disable=R0924
name = forms.CharField(required=False) name = forms.CharField(required=False)
class Meta: # pylint: disable=C0111 class Meta: # pylint: disable=missing-docstring
model = CourseEmailTemplate model = CourseEmailTemplate
fields = ('html_template', 'plain_template', 'name') fields = ('html_template', 'plain_template', 'name')
...@@ -76,7 +76,7 @@ class CourseEmailTemplateForm(forms.ModelForm): # pylint: disable=R0924 ...@@ -76,7 +76,7 @@ class CourseEmailTemplateForm(forms.ModelForm): # pylint: disable=R0924
class CourseAuthorizationAdminForm(forms.ModelForm): # pylint: disable=R0924 class CourseAuthorizationAdminForm(forms.ModelForm): # pylint: disable=R0924
"""Input form for email enabling, allowing us to verify data.""" """Input form for email enabling, allowing us to verify data."""
class Meta: # pylint: disable=C0111 class Meta: # pylint: disable=missing-docstring
model = CourseAuthorization model = CourseAuthorization
def clean_course_id(self): def clean_course_id(self):
......
...@@ -43,7 +43,7 @@ class Email(models.Model): ...@@ -43,7 +43,7 @@ class Email(models.Model):
created = models.DateTimeField(auto_now_add=True) created = models.DateTimeField(auto_now_add=True)
modified = models.DateTimeField(auto_now=True) modified = models.DateTimeField(auto_now=True)
class Meta: # pylint: disable=C0111 class Meta: # pylint: disable=missing-docstring
abstract = True abstract = True
...@@ -141,7 +141,7 @@ class Optout(models.Model): ...@@ -141,7 +141,7 @@ class Optout(models.Model):
user = models.ForeignKey(User, db_index=True, null=True) user = models.ForeignKey(User, db_index=True, null=True)
course_id = CourseKeyField(max_length=255, db_index=True) course_id = CourseKeyField(max_length=255, db_index=True)
class Meta: # pylint: disable=C0111 class Meta: # pylint: disable=missing-docstring
unique_together = ('user', 'course_id') unique_together = ('user', 'course_id')
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from __future__ import absolute_import from __future__ import absolute_import
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, steps from lettuce import world, steps
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
# pylint: disable=unused-argument # pylint: disable=unused-argument
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
from lettuce import step from lettuce import step
from lettuce import world from lettuce import world
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import step, world from lettuce import step, world
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
import datetime import datetime
import os import os
import pytz import pytz
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Steps for problem.feature lettuce tests Steps for problem.feature lettuce tests
''' '''
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
# EVERY PROBLEM TYPE MUST HAVE THE FOLLOWING: # EVERY PROBLEM TYPE MUST HAVE THE FOLLOWING:
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# pylint: disable=C0111 # pylint: disable=missing-docstring
from lettuce import world, step, before, after from lettuce import world, step, before, after
import json import json
......
# pylint: disable=C0111 # pylint: disable=missing-docstring
from time import sleep from time import sleep
......
# Factories don't have __init__ methods, and are self documenting # Factories don't have __init__ methods, and are self documenting
# pylint: disable=W0232, C0111 # pylint: disable=W0232, missing-docstring
import json import json
from functools import partial from functools import partial
import factory import factory
......
...@@ -15,7 +15,7 @@ from xmodule.course_module import ( ...@@ -15,7 +15,7 @@ from xmodule.course_module import (
CATALOG_VISIBILITY_CATALOG_AND_ABOUT, CATALOG_VISIBILITY_ABOUT, CATALOG_VISIBILITY_CATALOG_AND_ABOUT, CATALOG_VISIBILITY_ABOUT,
CATALOG_VISIBILITY_NONE) CATALOG_VISIBILITY_NONE)
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=W0212 # pylint: disable=W0212
......
...@@ -49,7 +49,7 @@ class RefundTests(ModuleStoreTestCase): ...@@ -49,7 +49,7 @@ class RefundTests(ModuleStoreTestCase):
Order.objects.filter(user=self.student).delete() Order.objects.filter(user=self.student).delete()
def _enroll(self, purchase=True): def _enroll(self, purchase=True):
# pylint: disable=C0111 # pylint: disable=missing-docstring
CourseEnrollment.enroll(self.student, self.course_id, self.course_mode.mode_slug) CourseEnrollment.enroll(self.student, self.course_id, self.course_mode.mode_slug)
if purchase: if purchase:
self.order = Order.get_cart_for_user(self.student) self.order = Order.get_cart_for_user(self.student)
......
...@@ -27,7 +27,7 @@ log = logging.getLogger(__name__) ...@@ -27,7 +27,7 @@ log = logging.getLogger(__name__)
CS_PREFIX = "http://localhost:4567/api/v1" CS_PREFIX = "http://localhost:4567/api/v1"
# pylint: disable=C0111 # pylint: disable=missing-docstring
class MockRequestSetupMixin(object): class MockRequestSetupMixin(object):
......
...@@ -30,7 +30,7 @@ TEST_DATA_MONGO_MODULESTORE = mixed_store_config(TEST_DATA_DIR, {}, include_xml= ...@@ -30,7 +30,7 @@ TEST_DATA_MONGO_MODULESTORE = mixed_store_config(TEST_DATA_DIR, {}, include_xml=
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
# pylint: disable=C0111 # pylint: disable=missing-docstring
@override_settings(MODULESTORE=TEST_DATA_MONGO_MODULESTORE) @override_settings(MODULESTORE=TEST_DATA_MONGO_MODULESTORE)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Define steps for bulk email acceptance test. Define steps for bulk email acceptance test.
""" """
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Define common steps for instructor dashboard acceptance tests. Define common steps for instructor dashboard acceptance tests.
""" """
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from __future__ import absolute_import from __future__ import absolute_import
......
...@@ -3,7 +3,7 @@ Define steps for instructor dashboard - data download tab ...@@ -3,7 +3,7 @@ Define steps for instructor dashboard - data download tab
acceptance tests. acceptance tests.
""" """
# pylint: disable=C0111 # pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name # pylint: disable=redefined-outer-name
from lettuce import world, step from lettuce import world, step
......
...@@ -12,7 +12,7 @@ from student.tests.factories import UserFactory ...@@ -12,7 +12,7 @@ from student.tests.factories import UserFactory
from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase
from xmodule.modulestore.tests.factories import CourseFactory from xmodule.modulestore.tests.factories import CourseFactory
# pylint: disable=C0111 # pylint: disable=missing-docstring
@override_settings(MODULESTORE=TEST_DATA_MONGO_MODULESTORE) @override_settings(MODULESTORE=TEST_DATA_MONGO_MODULESTORE)
......
...@@ -15,7 +15,7 @@ from xmodule.modulestore.tests.factories import CourseFactory ...@@ -15,7 +15,7 @@ from xmodule.modulestore.tests.factories import CourseFactory
from instructor.views import legacy from instructor.views import legacy
# pylint: disable=C0111 # pylint: disable=missing-docstring
@override_settings(MODULESTORE=TEST_DATA_MONGO_MODULESTORE) @override_settings(MODULESTORE=TEST_DATA_MONGO_MODULESTORE)
......
...@@ -95,7 +95,7 @@ def common_exceptions_400(func): ...@@ -95,7 +95,7 @@ def common_exceptions_400(func):
Catches common exceptions and renders matching 400 errors. Catches common exceptions and renders matching 400 errors.
(decorator without arguments) (decorator without arguments)
""" """
def wrapped(request, *args, **kwargs): # pylint: disable=C0111 def wrapped(request, *args, **kwargs): # pylint: disable=missing-docstring
use_json = (request.is_ajax() or use_json = (request.is_ajax() or
request.META.get("HTTP_ACCEPT", "").startswith("application/json")) request.META.get("HTTP_ACCEPT", "").startswith("application/json"))
try: try:
...@@ -129,8 +129,8 @@ def require_query_params(*args, **kwargs): ...@@ -129,8 +129,8 @@ def require_query_params(*args, **kwargs):
required_params += [(key, kwargs[key]) for key in kwargs] required_params += [(key, kwargs[key]) for key in kwargs]
# required_params = e.g. [('action', 'enroll or unenroll'), ['emails', None]] # required_params = e.g. [('action', 'enroll or unenroll'), ['emails', None]]
def decorator(func): # pylint: disable=C0111 def decorator(func): # pylint: disable=missing-docstring
def wrapped(*args, **kwargs): # pylint: disable=C0111 def wrapped(*args, **kwargs): # pylint: disable=missing-docstring
request = args[0] request = args[0]
error_response_data = { error_response_data = {
...@@ -166,8 +166,8 @@ def require_post_params(*args, **kwargs): ...@@ -166,8 +166,8 @@ def require_post_params(*args, **kwargs):
required_params += [(key, kwargs[key]) for key in kwargs] required_params += [(key, kwargs[key]) for key in kwargs]
# required_params = e.g. [('action', 'enroll or unenroll'), ['emails', None]] # required_params = e.g. [('action', 'enroll or unenroll'), ['emails', None]]
def decorator(func): # pylint: disable=C0111 def decorator(func): # pylint: disable=missing-docstring
def wrapped(*args, **kwargs): # pylint: disable=C0111 def wrapped(*args, **kwargs): # pylint: disable=missing-docstring
request = args[0] request = args[0]
error_response_data = { error_response_data = {
...@@ -206,8 +206,8 @@ def require_level(level): ...@@ -206,8 +206,8 @@ def require_level(level):
if level not in ['instructor', 'staff']: if level not in ['instructor', 'staff']:
raise ValueError("unrecognized level '{}'".format(level)) raise ValueError("unrecognized level '{}'".format(level))
def decorator(func): # pylint: disable=C0111 def decorator(func): # pylint: disable=missing-docstring
def wrapped(*args, **kwargs): # pylint: disable=C0111 def wrapped(*args, **kwargs): # pylint: disable=missing-docstring
request = args[0] request = args[0]
course = get_course_by_id(SlashSeparatedCourseKey.from_deprecated_string(kwargs['course_id'])) course = get_course_by_id(SlashSeparatedCourseKey.from_deprecated_string(kwargs['course_id']))
......
...@@ -65,7 +65,7 @@ class CourseEnrollmentSerializer(serializers.ModelSerializer): ...@@ -65,7 +65,7 @@ class CourseEnrollmentSerializer(serializers.ModelSerializer):
""" """
course = CourseField() course = CourseField()
class Meta: # pylint: disable=C0111 class Meta: # pylint: disable=missing-docstring
model = CourseEnrollment model = CourseEnrollment
fields = ('created', 'mode', 'is_active', 'course') fields = ('created', 'mode', 'is_active', 'course')
lookup_field = 'username' lookup_field = 'username'
...@@ -81,7 +81,7 @@ class UserSerializer(serializers.HyperlinkedModelSerializer): ...@@ -81,7 +81,7 @@ class UserSerializer(serializers.HyperlinkedModelSerializer):
lookup_field='username' lookup_field='username'
) )
class Meta: # pylint: disable=C0111 class Meta: # pylint: disable=missing-docstring
model = User model = User
fields = ('id', 'username', 'email', 'name', 'course_enrollments') fields = ('id', 'username', 'email', 'name', 'course_enrollments')
lookup_field = 'username' lookup_field = 'username'
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Exceptions for the shoppingcart app Exceptions for the shoppingcart app
""" """
# (Exception Class Names are sort of self-explanatory, so skipping docstring requirement) # (Exception Class Names are sort of self-explanatory, so skipping docstring requirement)
# pylint: disable=C0111 # pylint: disable=missing-docstring
class PaymentException(Exception): class PaymentException(Exception):
......
...@@ -10,7 +10,7 @@ from survey.models import SurveyForm ...@@ -10,7 +10,7 @@ from survey.models import SurveyForm
class SurveyFormAdminForm(forms.ModelForm): # pylint: disable=R0924 class SurveyFormAdminForm(forms.ModelForm): # pylint: disable=R0924
"""Form providing validation of SurveyForm content.""" """Form providing validation of SurveyForm content."""
class Meta: # pylint: disable=C0111 class Meta: # pylint: disable=missing-docstring
model = SurveyForm model = SurveyForm
fields = ('name', 'form') fields = ('name', 'form')
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Exceptions for the verify student app Exceptions for the verify student app
""" """
# (Exception Class Names are sort of self-explanatory, so skipping docstring requirement) # (Exception Class Names are sort of self-explanatory, so skipping docstring requirement)
# pylint: disable=C0111 # pylint: disable=missing-docstring
class WindowExpiredException(Exception): class WindowExpiredException(Exception):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment