Skip to content

Commit

Permalink
Use a tuple (instead of a list) for __all__
Browse files Browse the repository at this point in the history
  • Loading branch information
brainix committed Jan 16, 2021
1 parent d5cb527 commit e80821b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pottery/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
'''


from typing import Final
from typing import Tuple


__title__ = 'pottery'
__version__ = '1.1.0'
__description__, __long_description__ = (
Expand Down Expand Up @@ -50,7 +54,7 @@
from .set import RedisSet


__all__ = [
__all__: Final[Tuple[str, ...]] = (
'PotteryError',
'KeyExistsError',
'RandomKeyError',
Expand All @@ -74,4 +78,4 @@
'RedisDict',
'RedisList',
'RedisSet',
]
)

0 comments on commit e80821b

Please sign in to comment.