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
|
@ -5,7 +5,7 @@ except ImportError:
|
|||
|
||||
from .errors import TroveboxError
|
||||
|
||||
class TroveboxObject:
|
||||
class TroveboxObject(object):
|
||||
""" Base object supporting the storage of custom fields as attributes """
|
||||
def __init__(self, trovebox, json_dict):
|
||||
self.id = None
|
||||
|
@ -75,9 +75,11 @@ class Photo(TroveboxObject):
|
|||
return result["markup"]
|
||||
|
||||
def replace(self, photo_file, **kwds):
|
||||
""" Not implemented yet """
|
||||
raise NotImplementedError()
|
||||
|
||||
def replace_encoded(self, photo_file, **kwds):
|
||||
""" Not implemented yet """
|
||||
raise NotImplementedError()
|
||||
|
||||
def update(self, **kwds):
|
||||
|
@ -96,6 +98,7 @@ class Photo(TroveboxObject):
|
|||
self._replace_fields(new_dict)
|
||||
|
||||
def dynamic_url(self, **kwds):
|
||||
""" Not implemented yet """
|
||||
raise NotImplementedError()
|
||||
|
||||
def next_previous(self, **kwds):
|
||||
|
@ -194,12 +197,15 @@ class Album(TroveboxObject):
|
|||
return result
|
||||
|
||||
def form(self, **kwds):
|
||||
""" Not implemented yet """
|
||||
raise NotImplementedError()
|
||||
|
||||
def add_photos(self, photos, **kwds):
|
||||
""" Not implemented yet """
|
||||
raise NotImplementedError()
|
||||
|
||||
def remove_photos(self, photos, **kwds):
|
||||
""" Not implemented yet """
|
||||
raise NotImplementedError()
|
||||
|
||||
def update(self, **kwds):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue