import logging import warnings from dotenv import load_dotenv USER_INPUT = 100 def setup(): load_dotenv() warnings.filterwarnings("ignore") logging.addLevelName(USER_INPUT, "USER_INPUT") logging.basicConfig(format="[%(levelname)s]: %(message)s", level=logging.INFO)