PyLint tweaks.

Added .pylint-ignores patchfile, with waived PyLint warnings
This commit is contained in:
sneakypete81 2013-07-28 18:40:27 +01:00
parent 3e5ba6ae28
commit d8e874aad6
8 changed files with 250 additions and 12 deletions

View file

@ -17,7 +17,7 @@ def extract_ids(photos):
ids.append(photo)
return ids
class ApiPhotos:
class ApiPhotos(object):
def __init__(self, client):
self._client = client
@ -51,7 +51,7 @@ class ApiPhotos:
raise TroveboxError("Delete response returned False")
return True
class ApiPhoto:
class ApiPhoto(object):
def __init__(self, client):
self._client = client
@ -72,9 +72,11 @@ class ApiPhoto:
return photo.edit(**kwds)
def replace(self, photo, photo_file, **kwds):
""" Not yet implemented """
raise NotImplementedError()
def replace_encoded(self, photo, photo_file, **kwds):
""" Not yet implemented """
raise NotImplementedError()
def update(self, photo, **kwds):
@ -114,6 +116,7 @@ class ApiPhoto:
return Photo(self._client, result)
def dynamic_url(self, photo, **kwds):
""" Not yet implemented """
raise NotImplementedError()
def next_previous(self, photo, **kwds):