Add member declarations to all modules

This commit is contained in:
Joakim Soderlund 2016-12-19 17:59:03 +01:00
parent 034bfb7419
commit 0c4d0bd6fb
4 changed files with 27 additions and 0 deletions

View file

@ -22,6 +22,13 @@ Exceptions for Fimfarchive.
#
__all__ = (
'FimfarchiveError',
'InvalidStoryError',
'StorySourceError',
)
class FimfarchiveError(Exception):
"""
Base class for Fimfarchive exceptions.

View file

@ -36,6 +36,13 @@ from fimfarchive.flavors import StorySource, DataFormat, MetaPurity
from fimfarchive.stories import Story
__all__ = (
'Fetcher',
'FimfictionFetcher',
'FimfarchiveFetcher',
)
StreamReader = codecs.getreader('utf-8')

View file

@ -25,6 +25,14 @@ Flavors for Fimfarchive.
from enum import Enum
__all__ = (
'Flavor',
'StorySource',
'DataFormat',
'MetaPurity',
)
class Flavor(Enum):
"""
Base class for flavors.

View file

@ -22,6 +22,11 @@ Stories for Fimfarchive.
#
__all__ = (
'Story',
)
class Story:
"""
Represents a story.