Commit d295421d by Sarina Canelake Committed by Zia Fazal

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

parent f29b6943
# pylint: disable=wildcard-import, W0511 # pylint: disable=wildcard-import, fixme
"All view functions for contentstore, broken out into submodules" "All view functions for contentstore, broken out into submodules"
......
...@@ -1166,7 +1166,7 @@ class CourseEnrollment(models.Model): ...@@ -1166,7 +1166,7 @@ class CourseEnrollment(models.Model):
if GeneratedCertificate.certificate_for_student(self.user, self.course_id) is not None: if GeneratedCertificate.certificate_for_student(self.user, self.course_id) is not None:
return False 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') course_mode = CourseMode.mode_for_course(self.course_id, 'verified')
if course_mode is None: if course_mode is None:
......
...@@ -322,7 +322,7 @@ class DashboardTest(ModuleStoreTestCase): ...@@ -322,7 +322,7 @@ class DashboardTest(ModuleStoreTestCase):
) )
enrollment = CourseEnrollment.enroll(self.user, self.course.id, mode='honor') 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()) self.assertFalse(enrollment.refundable())
resp = self.client.post(reverse('student.views.dashboard', args=[])) resp = self.client.post(reverse('student.views.dashboard', args=[]))
......
...@@ -53,7 +53,7 @@ def set_course_tag(user, course_id, key, value): ...@@ -53,7 +53,7 @@ def set_course_tag(user, course_id, key, value):
key: arbitrary (<=255 char string) key: arbitrary (<=255 char string)
value: arbitrary string value: arbitrary string
""" """
# pylint: disable=W0511 # pylint: disable=fixme
# TODO: There is a risk of IntegrityErrors being thrown here given # TODO: There is a risk of IntegrityErrors being thrown here given
# simultaneous calls from many processes. Handle by retrying after # simultaneous calls from many processes. Handle by retrying after
# a short delay? # a short delay?
......
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