flake8 (detected by jenkins, not local tox)
authorArthur Lutz <arthur.lutz@logilab.fr>
Tue, 17 Jan 2017 12:14:00 +0100
changeset 370 564d5ec64f53
parent 369 6cf39e14ec02
child 371 30f59dac9970
flake8 (detected by jenkins, not local tox)
sobjects.py
test/test_blog.py
test/unittest_blog.py
views/entry.py
--- a/sobjects.py	Tue Jan 17 12:09:07 2017 +0100
+++ b/sobjects.py	Tue Jan 17 12:14:00 2017 +0100
@@ -47,6 +47,7 @@
         item['content'] = unicode(get_object(g, post, SIOC.content))
         yield item
 
+
 format_map = {'application/xhtml+xml': u'text/html',
               'text/html': u'text/html',
               'text/plain': u'text/plain',
@@ -172,6 +173,7 @@
     # print results
     return []
 
+
 AVATAR_CACHE = {}
 
 
@@ -185,6 +187,7 @@
         AVATAR_CACHE[screen_name] = user['profile_image_url']
     return AVATAR_CACHE[screen_name]
 
+
 if DataFeedParser is not None:
     class BlogPostParser(DataFeedParser):
         __abstract__ = True
--- a/test/test_blog.py	Tue Jan 17 12:09:07 2017 +0100
+++ b/test/test_blog.py	Tue Jan 17 12:14:00 2017 +0100
@@ -7,5 +7,6 @@
     def to_test_etypes(self):
         return set(('Blog', 'BlogEntry', 'MicroBlog', 'MicroBlogEntry',))
 
+
 if __name__ == '__main__':
     unittest_main()
--- a/test/unittest_blog.py	Tue Jan 17 12:09:07 2017 +0100
+++ b/test/unittest_blog.py	Tue Jan 17 12:14:00 2017 +0100
@@ -68,5 +68,6 @@
             self.assertEqual(u'a', a3.previous_entity().title)
             self.assertIsNone(a3.next_entity())
 
+
 if __name__ == '__main__':
     unittest_main()
--- a/views/entry.py	Tue Jan 17 12:09:07 2017 +0100
+++ b/views/entry.py	Tue Jan 17 12:14:00 2017 +0100
@@ -258,6 +258,7 @@
         entity = self.cw_rset.get_entity(row, col)
         self.w(format_microblog(entity))
 
+
 _CLEAN_STYLE_RE = re.compile(r'<style .*?</style>', re.MULTILINE | re.DOTALL)