s/pylint: disable=W0511/pylint: disable=fixme/

This commit is contained in:
Sarina Canelake
2014-11-30 17:50:24 -05:00
parent f663a7fe8d
commit 13946fb844
4 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# pylint: disable=wildcard-import, W0511
# pylint: disable=wildcard-import, fixme
"All view functions for contentstore, broken out into submodules"

View File

@@ -1164,7 +1164,7 @@ class CourseEnrollment(models.Model):
if GeneratedCertificate.certificate_for_student(self.user, self.course_id) is not None:
return False
#TODO - When Course administrators to define a refund period for paid courses then refundable will be supported. # pylint: disable=W0511
#TODO - When Course administrators to define a refund period for paid courses then refundable will be supported. # pylint: disable=fixme
course_mode = CourseMode.mode_for_course(self.course_id, 'verified')
if course_mode is None:

View File

@@ -322,7 +322,7 @@ class DashboardTest(ModuleStoreTestCase):
)
enrollment = CourseEnrollment.enroll(self.user, self.course.id, mode='honor')
# TODO: Until we can allow course administrators to define a refund period for paid for courses show_refund_option should be False. # pylint: disable=W0511
# TODO: Until we can allow course administrators to define a refund period for paid for courses show_refund_option should be False. # pylint: disable=fixme
self.assertFalse(enrollment.refundable())
resp = self.client.post(reverse('student.views.dashboard', args=[]))

View File

@@ -53,7 +53,7 @@ def set_course_tag(user, course_id, key, value):
key: arbitrary (<=255 char string)
value: arbitrary string
"""
# pylint: disable=W0511
# pylint: disable=fixme
# TODO: There is a risk of IntegrityErrors being thrown here given
# simultaneous calls from many processes. Handle by retrying after
# a short delay?