From 8382b7923ddc57b80409c01e212fe716c9d22357 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Mon, 15 Nov 2021 22:06:43 +0100 Subject: Change enum constants to uppercase Signed-off-by: Olivier Gayot --- cameltris/color.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'cameltris/color.py') diff --git a/cameltris/color.py b/cameltris/color.py index 3fc2f9d..ac3e660 100644 --- a/cameltris/color.py +++ b/cameltris/color.py @@ -2,12 +2,12 @@ from enum import Enum class Color(Enum): - black = (0, 0, 0) - white = (0xff, 0xff, 0xff) - brown = (163, 75, 31) - blue = (30, 34, 164) - green = (30, 164, 59) - red = (164, 30, 30) - purple = (126, 30, 164) - yellow = (164, 164, 30) - cyan = (30, 164, 150) + BLACK = (0, 0, 0) + WHITE = (0XFF, 0XFF, 0XFF) + BROWN = (163, 75, 31) + BLUE = (30, 34, 164) + GREEN = (30, 164, 59) + RED = (164, 30, 30) + PURPLE = (126, 30, 164) + YELLOW = (164, 164, 30) + CYAN = (30, 164, 150) -- cgit v1.2.3