From 8133251c2d36e73faae31825fc2e978ec17c571f Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Wed, 9 Oct 2019 12:46:26 -0300 Subject: [PATCH] refactor: move colors out of __all__ into own tuple --- crayons.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/crayons.py b/crayons.py index 84d022e..1e32dda 100644 --- a/crayons.py +++ b/crayons.py @@ -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()