diff --git a/fimfarchive/exceptions.py b/fimfarchive/exceptions.py index cd728a0..6adf895 100644 --- a/fimfarchive/exceptions.py +++ b/fimfarchive/exceptions.py @@ -22,6 +22,13 @@ Exceptions for Fimfarchive. # +__all__ = ( + 'FimfarchiveError', + 'InvalidStoryError', + 'StorySourceError', +) + + class FimfarchiveError(Exception): """ Base class for Fimfarchive exceptions. diff --git a/fimfarchive/fetchers.py b/fimfarchive/fetchers.py index 5d976ee..fd2d8fb 100644 --- a/fimfarchive/fetchers.py +++ b/fimfarchive/fetchers.py @@ -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') diff --git a/fimfarchive/flavors.py b/fimfarchive/flavors.py index 7fd16d5..e878160 100644 --- a/fimfarchive/flavors.py +++ b/fimfarchive/flavors.py @@ -25,6 +25,14 @@ Flavors for Fimfarchive. from enum import Enum +__all__ = ( + 'Flavor', + 'StorySource', + 'DataFormat', + 'MetaPurity', +) + + class Flavor(Enum): """ Base class for flavors. diff --git a/fimfarchive/stories.py b/fimfarchive/stories.py index f1d026b..7bd4f02 100644 --- a/fimfarchive/stories.py +++ b/fimfarchive/stories.py @@ -22,6 +22,11 @@ Stories for Fimfarchive. # +__all__ = ( + 'Story', +) + + class Story: """ Represents a story.