mirror of
https://github.com/JockeTF/fimfarchive.git
synced 2024-11-24 22:27:59 +01:00
Add member declarations to all modules
This commit is contained in:
parent
034bfb7419
commit
0c4d0bd6fb
4 changed files with 27 additions and 0 deletions
|
@ -22,6 +22,13 @@ Exceptions for Fimfarchive.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
__all__ = (
|
||||||
|
'FimfarchiveError',
|
||||||
|
'InvalidStoryError',
|
||||||
|
'StorySourceError',
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class FimfarchiveError(Exception):
|
class FimfarchiveError(Exception):
|
||||||
"""
|
"""
|
||||||
Base class for Fimfarchive exceptions.
|
Base class for Fimfarchive exceptions.
|
||||||
|
|
|
@ -36,6 +36,13 @@ from fimfarchive.flavors import StorySource, DataFormat, MetaPurity
|
||||||
from fimfarchive.stories import Story
|
from fimfarchive.stories import Story
|
||||||
|
|
||||||
|
|
||||||
|
__all__ = (
|
||||||
|
'Fetcher',
|
||||||
|
'FimfictionFetcher',
|
||||||
|
'FimfarchiveFetcher',
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
StreamReader = codecs.getreader('utf-8')
|
StreamReader = codecs.getreader('utf-8')
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,14 @@ Flavors for Fimfarchive.
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
|
|
||||||
|
|
||||||
|
__all__ = (
|
||||||
|
'Flavor',
|
||||||
|
'StorySource',
|
||||||
|
'DataFormat',
|
||||||
|
'MetaPurity',
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class Flavor(Enum):
|
class Flavor(Enum):
|
||||||
"""
|
"""
|
||||||
Base class for flavors.
|
Base class for flavors.
|
||||||
|
|
|
@ -22,6 +22,11 @@ Stories for Fimfarchive.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
__all__ = (
|
||||||
|
'Story',
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class Story:
|
class Story:
|
||||||
"""
|
"""
|
||||||
Represents a story.
|
Represents a story.
|
||||||
|
|
Loading…
Reference in a new issue