refactor: move colors out of __all__ into own tuple

This commit is contained in:
Matthew Peveler
2019-10-09 12:46:26 -03:00
parent 0bb9d45880
commit 8133251c2d
+6 -4
View File
@@ -11,11 +11,13 @@ import colorama
PY3 = sys.version_info[0] >= 3
__all__ = (
COLORS = (
'red', 'green', 'yellow', 'blue',
'black', 'magenta', 'cyan', 'white',
'clean', 'disable', 'enable', 'random',
'replace_colors'
'black', 'magenta', 'cyan', 'white'
)
__all__ = COLORS + (
'normal', 'clean', 'disable', 'enable', 'random', 'replace_colors'
)
colorama.init()