pep8 blank lines fixes

flake8 --select W391,E302,E301,E304

autopep8 can't fix W391 even though it claims it can.
Fixed using a simple custom script.
This commit is contained in:
Laurent Bachelier 2014-10-10 23:04:08 +02:00
commit 448c06d125
142 changed files with 249 additions and 25 deletions

View file

@ -24,6 +24,7 @@ from .file import CapFile, BaseFile
__all__ = ['BaseImage', 'CapImage']
class _BaseImage(BaseFile):
"""
Fake class to allow the inclusion of a BaseImage property within
@ -31,6 +32,7 @@ class _BaseImage(BaseFile):
"""
pass
class BaseImage(_BaseImage):
"""
Represents an image file.
@ -61,6 +63,7 @@ class CapImage(CapFile):
"""
Image file provider
"""
def search_image(self, pattern, sortby=CapFile.SEARCH_RELEVANCE, nsfw=False):
"""
search for an image file
@ -83,4 +86,3 @@ class CapImage(CapFile):
:rtype: :class:`BaseImage`]
"""
return self.get_file(_id)