Commit 94ead2b1 authored by Carlos Soriano Sánchez's avatar Carlos Soriano Sánchez
Browse files

general: Use Enum subclass for Colors

parent db6e0fd3
......@@ -31,12 +31,13 @@ import venv
from urllib.parse import urlparse
from urllib.request import urlretrieve
from enum import Enum
FLATPAK_REQ = "0.9.2"
scriptdir = os.path.abspath(os.path.dirname(__file__))
class Colors: # pylint: disable=too-few-public-methods
class Colors(Enum):
HEADER = "\033[95m"
OKBLUE = "\033[94m"
OKGREEN = "\033[92m"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment