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

@ -1,6 +1,6 @@
from .objects import Album
class ApiAlbums:
class ApiAlbums(object):
def __init__(self, client):
self._client = client
@ -9,7 +9,7 @@ class ApiAlbums:
results = self._client.get("/albums/list.json", **kwds)["result"]
return [Album(self._client, album) for album in results]
class ApiAlbum:
class ApiAlbum(object):
def __init__(self, client):
self._client = client
@ -30,12 +30,15 @@ class ApiAlbum:
return album.delete(**kwds)
def form(self, album, **kwds):
""" Not yet implemented """
raise NotImplementedError()
def add_photos(self, album, photos, **kwds):
""" Not yet implemented """
raise NotImplementedError()
def remove_photos(self, album, photos, **kwds):
""" Not yet implemented """
raise NotImplementedError()
def update(self, album, **kwds):