PyLint tweaks.
Added .pylint-ignores patchfile, with waived PyLint warnings
This commit is contained in:
parent
3e5ba6ae28
commit
d8e874aad6
8 changed files with 250 additions and 12 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue