Fix PEP8: W391 blank line at end of file
This commit is contained in:
@@ -83,4 +83,3 @@ def _check_caller_authority(caller, role):
|
||||
elif isinstance(role, CourseRole): # instructors can change the roles w/in their course
|
||||
if not has_access(caller, CourseInstructorRole(role.course_key)):
|
||||
raise PermissionDenied
|
||||
|
||||
|
||||
@@ -65,4 +65,3 @@ class Command(BaseCommand):
|
||||
))
|
||||
except IOError:
|
||||
raise CommandError("Error writing to file: %s" % output_filename)
|
||||
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
# Create your models here.
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -39,4 +39,3 @@ class MakoModuleDescriptor(XModuleDescriptor):
|
||||
def get_html(self):
|
||||
return self.system.render_template(
|
||||
self.mako_template, self.get_context())
|
||||
|
||||
|
||||
@@ -65,4 +65,3 @@ class TabsEditingDescriptorTestCase(unittest.TestCase):
|
||||
""""test get_context"""
|
||||
rendered_context = self.descriptor.get_context()
|
||||
self.assertListEqual(rendered_context['tabs'], self.tabs)
|
||||
|
||||
|
||||
@@ -46,4 +46,3 @@ class WordCloudModuleTest(LogicTest):
|
||||
self.assertEqual(
|
||||
100.0,
|
||||
sum(i['percent'] for i in response['top_words']))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user